MCPcopy Create free account
hub / github.com/Tencent/NeuralNLP-NeuralClassifier / FAN_MODE

Class FAN_MODE

model/model_util.py:53–60  ·  view source on GitHub ↗

Standard names for fan mode

Source from the content-addressed store, hash-verified

51
52
53class FAN_MODE(Type):
54 """Standard names for fan mode
55 """
56 FAN_IN = 'FAN_IN'
57 FAN_OUT = "FAN_OUT"
58
59 def str(self):
60 return ",".join([self.FAN_IN, self.FAN_OUT])
61
62
63def init_tensor(tensor, init_type=InitType.XAVIER_UNIFORM, low=0, high=1,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected