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

Class NA

tensorflow/core/lib/gtl/flatmap_test.cc:465–471  ·  view source on GitHub ↗

Non-assignable values should work.

Source from the content-addressed store, hash-verified

463
464// Non-assignable values should work.
465struct NA {
466 int64 value;
467 NA() : value(-1) {}
468 explicit NA(int64 v) : value(v) {}
469 NA(const NA& x) : value(x.value) {}
470 bool operator==(const NA& x) const { return value == x.value; }
471};
472struct HashNA {
473 size_t operator()(NA x) const { return x.value; }
474};

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56