Class: GraphNode

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGraphNode

Returns a new instance of GraphNode.


141
142
143
144
# File 'lib/graph.rb', line 141

def initialize
  self.def = Tensorflow::NodeDef.new
  self.outDataTypes = Hash.new
end

Instance Attribute Details

#defObject

Returns the value of attribute def


140
141
142
# File 'lib/graph.rb', line 140

def def
  @def
end

#outDataTypesObject

Returns the value of attribute outDataTypes


140
141
142
# File 'lib/graph.rb', line 140

def outDataTypes
  @outDataTypes
end

#refObject

Returns the value of attribute ref


140
141
142
# File 'lib/graph.rb', line 140

def ref
  @ref
end