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

Function TimeEstimateForNode

tensorflow/core/graph/costmodel.cc:461–469  ·  view source on GitHub ↗

This generates an extremely simple initial guess for the computation cost of each node. For ordinary Ops, its value should quickly be wiped out by the real runtime measurements. For other Ops we don't actually generate measurements, so suppression of infrequent Ops ends up giving them 0 costs. So, this is not of much consequence except perhaps in tests.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

EstimateComputationCostsFunction · 0.85

Calls 5

IsOpMethod · 0.80
IsConstantFunction · 0.70
IsVariableFunction · 0.70
idMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected