(numBins float64)
| 15 | } |
| 16 | |
| 17 | func Hashing(numBins float64) *LHashing { |
| 18 | return &LHashing{ |
| 19 | dtype: Float32, |
| 20 | maskValue: nil, |
| 21 | name: UniqueName("hashing"), |
| 22 | numBins: numBins, |
| 23 | salt: nil, |
| 24 | trainable: true, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func (l *LHashing) SetDtype(dtype DataType) *LHashing { |
| 29 | l.dtype = dtype |
nothing calls this directly
no test coverage detected