MCPcopy Create free account
hub / github.com/b45ch1/algopy / function

Method function

algopy/tracer/tracer.py:177–187  ·  view source on GitHub ↗

computes the function of a function y = f(x_list), where y is a scalar and x_list is a list or tuple of input arguments. The computation is performed using the stored computational graph. Using this function one can check if the CGraph is correct by comparing the value

(self, x_list)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_prodMethod · 0.95

Calls 1

pushforwardMethod · 0.95

Tested by 1

test_prodMethod · 0.76