Sha256: b2e900df3fb579a8fa83984ea9d26f9ed27fcbd184c6f1ade9919fb26e1f9d5d

Contents?: true

Size: 197 Bytes

Versions: 51

Compression:

Stored size: 197 Bytes

Contents

module Torch
  module NN
    class AdaptiveMaxPool1d < AdaptiveMaxPoolNd
      def forward(input)
        F.adaptive_max_pool1d(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_pool1d.rb
torch-rb-0.3.1 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.3.0 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.7 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.6 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.5 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.4 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.3 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.2 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.1 lib/torch/nn/adaptive_max_pool1d.rb
torch-rb-0.2.0 lib/torch/nn/adaptive_max_pool1d.rb