MCPcopy Create free account
hub / github.com/apache/arrow / fixed_shape_tensor

Function fixed_shape_tensor

cpp/src/arrow/extension/fixed_shape_tensor.cc:407–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407std::shared_ptr<DataType> fixed_shape_tensor(const std::shared_ptr<DataType>& value_type,
408 const std::vector<int64_t>& shape,
409 const std::vector<int64_t>& permutation,
410 const std::vector<std::string>& dim_names) {
411 auto maybe_type = FixedShapeTensorType::Make(value_type, shape, permutation, dim_names);
412 ARROW_CHECK_OK(maybe_type.status());
413 return maybe_type.MoveValueUnsafe();
414}
415
416} // namespace arrow::extension

Callers 7

CreateGlobalRegistryFunction · 0.85
TESTFunction · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85
CheckToTensorFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
FromTensorMethod · 0.85

Calls 3

MoveValueUnsafeMethod · 0.80
MakeFunction · 0.70
statusMethod · 0.45

Tested by 5

TESTFunction · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68
CheckToTensorFunction · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68