Sha256: 4f67bc1fb0250f1537c5afe32d9724e24b29c426499adadc4e0e1ebdeaf7000f

Contents?: true

Size: 197 Bytes

Versions: 51

Compression:

Stored size: 197 Bytes

Contents

module Torch
  module NN
    class AdaptiveMaxPool2d < AdaptiveMaxPoolNd
      def forward(input)
        F.adaptive_max_pool2d(input, @output_size) #, @return_indices)
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
torch-rb-0.3.2 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.3.1 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.3.0 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.7 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.6 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.5 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.4 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.3 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.2 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.1 lib/torch/nn/adaptive_max_pool2d.rb
torch-rb-0.2.0 lib/torch/nn/adaptive_max_pool2d.rb