Sha256: b9e834726b20cba39bcfa947620de40fe5dbbf136aa0df2ce8961dfb2294c46c

Contents?: true

Size: 176 Bytes

Versions: 2

Compression:

Stored size: 176 Bytes

Contents

module Torch
  module NN
    class MaxPool2d < MaxPoolNd
      def forward(input)
        F.max_pool2d(input, @kernel_size) # TODO other parameters
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
torch-rb-0.1.5 lib/torch/nn/max_pool2d.rb
torch-rb-0.1.4 lib/torch/nn/max_pool2d.rb