MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / zeros_like

Function zeros_like

ciphercore-base/src/ops/utils.rs:116–118  ·  view source on GitHub ↗
(x: Node)

Source from the content-addressed store, hash-verified

114}
115
116pub fn zeros_like(x: Node) -> Result<Node> {
117 x.get_graph().zeros(x.get_type()?)
118}
119
120pub fn ones_like(x: Node) -> Result<Node> {
121 x.get_graph().ones(x.get_type()?)

Callers 4

instantiateMethod · 0.85
concatenate_mpcFunction · 0.85
attach_columnMethod · 0.85

Calls 3

zerosMethod · 0.80
get_graphMethod · 0.45
get_typeMethod · 0.45

Tested by

no test coverage detected