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

Method Attrs

tensorflow/core/framework/function_test.cc:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34class Attrs {
35 public:
36 Attrs(const std::initializer_list< // NOLINT(runtime/explicit)
37 std::pair<string, FunctionDefHelper::AttrValueWrapper>>
38 attrs) {
39 for (const auto& aval : attrs) {
40 map_.insert({aval.first, aval.second.proto});
41 }
42 }
43
44 operator AttrSlice() { return AttrSlice(&map_); } // NOLINT(runtime/explicit)
45

Callers 11

ShouldRewriteOpMethod · 0.45
ShouldCompileWithXLAFunction · 0.45
PrepareRemoteOpFunction · 0.45
PrepareRemoteOpFunction · 0.45
TFE_AddEagerOpToGraphFunction · 0.45
TFE_InferShapesFunction · 0.45
TFE_OpSetAttrFunctionFunction · 0.45
TFE_OpGetInputLengthFunction · 0.45
TFE_OpGetOutputLengthFunction · 0.45
TESTFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected