MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / hessians

Function hessians

tensorflow/python/ops/gradients_impl.py:965–1026  ·  view source on GitHub ↗

Constructs the Hessian of sum of `ys` with respect to `x` in `xs`. `hessians()` adds ops to the graph to output the Hessian matrix of `ys` with respect to `xs`. It returns a list of `Tensor` of length `len(xs)` where each tensor is the Hessian of `sum(ys)`. This function currently only sup

(ys, xs, name="hessians", colocate_gradients_with_ops=False,
            gate_gradients=False, aggregation_method=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 10

_AsListFunction · 0.85
rangeFunction · 0.85
control_dependenciesMethod · 0.80
TensorArrayMethod · 0.80
gradientsFunction · 0.70
sizeMethod · 0.45
constantMethod · 0.45
writeMethod · 0.45
appendMethod · 0.45
stackMethod · 0.45

Tested by

no test coverage detected