Sha256: 746b5fc650d7cc24ade0122ec04da97cdda6d5e4f3db20f211bfd372fdde200b

Contents?: true

Size: 327 Bytes

Versions: 51

Compression:

Stored size: 327 Bytes

Contents

module Torch
  module NN
    class AdaptiveMaxPoolNd < Module
      def initialize(output_size) #, return_indices: false)
        super()
        @output_size = output_size
        # @return_indices = return_indices
      end

      def extra_inspect
        format("output_size: %s", @output_size)
      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_poolnd.rb
torch-rb-0.3.1 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.3.0 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.7 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.6 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.5 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.4 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.3 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.2 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.1 lib/torch/nn/adaptive_max_poolnd.rb
torch-rb-0.2.0 lib/torch/nn/adaptive_max_poolnd.rb