MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Square

Function Square

tensorflow/core/framework/model.cc:33–33  ·  view source on GitHub ↗

Wrapper for the square function to reduce verbosity.

Source from the content-addressed store, hash-verified

31
32// Wrapper for the square function to reduce verbosity.
33inline double Square(double x) { return x * x; }
34
35// Given the average time between output events (`output_time`), the average
36// time between input events (`input_time`) and the buffer size, the method

Callers 15

ComputeWaitTimeFunction · 0.70
SHARED_LOCKS_REQUIREDMethod · 0.70
SHARED_LOCKS_REQUIREDMethod · 0.70
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
CreateGraphDefFunction · 0.50

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
CreateGraphDefFunction · 0.40
TESTFunction · 0.40
TestCWiseGradMethod · 0.40
TESTFunction · 0.40