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

Function Set

tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc:2591–2593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2589// Sets the `index` bit of `val`.
2590template <class T>
2591constexpr void Set(T &val, unsigned index) {
2592 val |= (1 << index);
2593}
2594
2595// Unset the `index` bit of `val`.
2596template <class T>

Callers 8

CopyBitFunction · 0.70
BuildDenseSliceSpecFunction · 0.70
TEST_FFunction · 0.50
SetMethod · 0.50
PopulateR2Method · 0.50
PopulateR1Method · 0.50
VectorVariableMethod · 0.50
ScalarVariableMethod · 0.50

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.40