()
| 15 | } |
| 16 | |
| 17 | func Input() *LInput { |
| 18 | i := &LInput{ |
| 19 | batchSize: -1, |
| 20 | dtype: Float32, |
| 21 | inputTensor: nil, |
| 22 | sparse: false, |
| 23 | ragged: false, |
| 24 | name: UniqueName("input"), |
| 25 | } |
| 26 | return i |
| 27 | } |
| 28 | |
| 29 | func (i *LInput) SetName(name string) *LInput { |
| 30 | i.name = name |