MCPcopy Create free account
hub / github.com/CodingBeard/tfkg / Hashing

Function Hashing

layer/Hashing.go:17–26  ·  view source on GitHub ↗
(numBins float64)

Source from the content-addressed store, hash-verified

15}
16
17func 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
28func (l *LHashing) SetDtype(dtype DataType) *LHashing {
29 l.dtype = dtype

Callers

nothing calls this directly

Calls 1

UniqueNameFunction · 0.70

Tested by

no test coverage detected