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

Function Slice

tensorflow/compiler/xla/client/xla_builder.cc:2991–2996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2989}
2990
2991XlaOp Slice(const XlaOp operand, absl::Span<const int64> start_indices,
2992 absl::Span<const int64> limit_indices,
2993 absl::Span<const int64> strides) {
2994 return operand.builder()->Slice(operand, start_indices, limit_indices,
2995 strides);
2996}
2997
2998XlaOp SliceInDim(const XlaOp operand, int64 start_index, int64 limit_index,
2999 int64 stride, int64 dimno) {

Callers 15

SliceInDimMethod · 0.70
CalculateGradDataFunction · 0.50
BitGenFunction · 0.50
StateAndKeyFromVariableFunction · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
StatelessRngUniformFunction · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
CompileMethod · 0.50

Calls 2

SliceMethod · 0.45
builderMethod · 0.45

Tested by 12

TESTFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TYPED_TESTFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
RunMethod · 0.40
XLA_TEST_PFunction · 0.40
RunMethod · 0.40
TEST_FFunction · 0.40