Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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`.
2590
template <class T>
2591
constexpr void Set(T &val, unsigned index) {
2592
val |= (1 << index);
2593
}
2594
2595
// Unset the `index` bit of `val`.
2596
template <class T>
Callers
8
CopyBit
Function · 0.70
BuildDenseSliceSpec
Function · 0.70
TEST_F
Function · 0.50
Set
Method · 0.50
PopulateR2
Method · 0.50
PopulateR1
Method · 0.50
VectorVariable
Method · 0.50
ScalarVariable
Method · 0.50
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.40