- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FillNumericTensorBuffer (0.59 sec)
-
tensorflow/c/experimental/saved_model/core/test_utils.cc
for (int i = 0; i < shape.size(); ++i) { CHECK_EQ(tensor->Dim(i), shape[i]); } FillNumericTensorBuffer(tensor->Type(), tensor->NumElements(), tensor->Data(), value); ImmediateTensorHandlePtr handle(ctx->CreateLocalHandle(tensor.get())); CHECK_NE(handle.get(), nullptr); return handle; } void FillNumericTensorBuffer(DataType dtype, size_t num_elements, void* buffer, int8_t value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 5.8K bytes - Viewed (0)