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

Method valid

tensorflow/compiler/xla/client/xla_builder.h:75–75  ·  view source on GitHub ↗

Returns true if the XlaOp represents valid, non-erroneous value.

Source from the content-addressed store, hash-verified

73
74 // Returns true if the XlaOp represents valid, non-erroneous value.
75 bool valid() const { return handle_ >= 0; }
76
77 // Returns true if the XlaOp was created by the XlaOp() constructor and
78 // not returned by a builder.

Callers 4

LowerMethod · 0.45
AssignVariableMethod · 0.45
initializedMethod · 0.45
XLA_TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

XLA_TEST_FFunction · 0.36