Class: Tensorflow::Input

Inherits:
Object
  • Object
show all
Defined in:
lib/tensorflow/operation.rb

Overview

Input is the interface for specifying inputs to an operation being added to a Graph.

Operations can have multiple inputs, each of which could be either a tensor produced by another operation (an Output object), or a list of tensors produced by other operations (an OutputList). Thus, this interface is implemented by both Output and OutputList.

See OpSpec.Input for more information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInput

Returns a new instance of Input.



103
104
# File 'lib/tensorflow/operation.rb', line 103

def initialize
end

Instance Attribute Details

#IndexObject

Returns the value of attribute Index.



102
103
104
# File 'lib/tensorflow/operation.rb', line 102

def Index
  @Index
end

#OperationsObject

Returns the value of attribute Operations.



102
103
104
# File 'lib/tensorflow/operation.rb', line 102

def Operations
  @Operations
end