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

Method GetAttr

tensorflow/core/framework/op_kernel.h:1612–1614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1610
1611template <class T>
1612Status OpKernelConstruction::GetAttr(StringPiece attr_name, T* value) const {
1613 return GetNodeAttr(def(), attr_name, value);
1614}
1615
1616inline DataType OpKernelContext::input_dtype(int index) const {
1617 DCHECK_GE(index, 0);

Callers 15

KvLookupOpMethod · 0.45
KvImportOpMethod · 0.45
KvInitOpMethod · 0.45
array_ops.ccFile · 0.45
PeriodicResampleOpMethod · 0.45
variable_ops.ccFile · 0.45
ZeroVarInitializerMethod · 0.45
BipartiteMatchOpMethod · 0.45

Calls 1

GetNodeAttrFunction · 0.50

Tested by 11

TESTFunction · 0.36
GetAttrKernelMethod · 0.36
TEST_FFunction · 0.36
ErrorOpMethod · 0.36
InvalidRefTypeMethod · 0.36
DelayOpMethod · 0.36
AudioSpectrogramOpMethod · 0.36