Method: TensorStream::Operation#to_h
- Defined in:
- lib/tensor_stream/operation.rb
#to_h ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/tensor_stream/operation.rb', line 27 def to_h { op: operation.to_s, name: name.to_s, data_type: @data_type, inputs: @inputs.map(&:name), attrs: , } end |