Sha256: 75713bc6e0fff1276a694f080b3bba094c3a59f11502bc54b4d7d4451231a374

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

module TensorFlow
  module Keras
    module Layers
      class Dropout
        def initialize(rate)
        end

        def build(input_shape)
          @output_shape = input_shape
        end

        def call(inputs)
          # TODO implement
          TensorFlow.identity(inputs)
        end

        def output_shape
          @output_shape
        end

        def count_params
          0
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tensorflow-0.2.0 lib/tensorflow/keras/layers/dropout.rb