class Tensorflow::Keras::Layers::Dropout

Public Class Methods

new(rate) click to toggle source
# File lib/tensorflow/keras/layers/dropout.rb, line 5
def initialize(rate)
end

Public Instance Methods

build(input_shape) click to toggle source
# File lib/tensorflow/keras/layers/dropout.rb, line 8
def build(input_shape)
  @output_shape = input_shape
end
call(inputs) click to toggle source
# File lib/tensorflow/keras/layers/dropout.rb, line 12
def call(inputs)
  # TODO implement
  Tensorflow.identity(inputs)
end
count_params() click to toggle source
# File lib/tensorflow/keras/layers/dropout.rb, line 21
def count_params
  0
end
output_shape() click to toggle source
# File lib/tensorflow/keras/layers/dropout.rb, line 17
def output_shape
  @output_shape
end