Method: Tensorflow::Ops#placeholder

Defined in:
lib/tensorflow/ops/ops.rb

#placeholder(dtype, name: 'Placeholder', shape: nil) ⇒ Object



35
36
37
# File 'lib/tensorflow/ops/ops.rb', line 35

def placeholder(dtype, name: 'Placeholder', shape: nil)
  RawOps.placeholder(dtype: dtype, shape: shape, name: name)
end