- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for size_op (0.21 sec)
-
tensorflow/c/c_api_test.cc
void StringVectorToArrays(const std::vector<string>& v, std::unique_ptr<const void*[]>* ptrs, std::unique_ptr<size_t[]>* lens) { ptrs->reset(new const void*[v.size()]); lens->reset(new size_t[v.size()]); for (size_t i = 0; i < v.size(); ++i) { (*ptrs)[i] = v[i].data(); (*lens)[i] = v[i].size(); } } class CApiColocationTest : public ::testing::Test {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.h
// // Fails if storage_size is too small to hold the requested number of strings. TF_CAPI_EXPORT extern void TF_OperationGetAttrStringList( TF_Operation* oper, const char* attr_name, void** values, size_t* lengths, int max_values, void* storage, size_t storage_size, TF_Status* status); TF_CAPI_EXPORT extern void TF_OperationGetAttrInt(TF_Operation* oper, const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
float value = 0.0f; TF_Tensor* t = TFE_TensorHandleResolve(value_handle, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(sizeof(float), TF_TensorByteSize(t)); memcpy(&value, TF_TensorData(t), sizeof(float)); TF_DeleteTensor(t); EXPECT_EQ(12.0, value); TFE_DeleteTensorHandle(var_handle); TFE_DeleteTensorHandle(value_handle); TFE_DeleteContext(ctx);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
ASSERT_EQ(sizeof(int32_t), TF_TensorByteSize(out)); int32_t* output_contents = static_cast<int32_t*>(TF_TensorData(out)); EXPECT_EQ(expected_results[i], *output_contents); } } void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) { int32_t* data = static_cast<int32_t*>(TF_TensorData(t)); size_t size = TF_TensorByteSize(t);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if t, ok := strings.CutPrefix(s, "union_"); ok { return "union " + t } if t, ok := strings.CutPrefix(s, "enum_"); ok { return "enum " + t } if t, ok := strings.CutPrefix(s, "sizeof_"); ok { return "sizeof(" + cname(t) + ")" } return s } // ProcessCgoDirectives processes the import C preamble: // 1. discards all #cgo CFLAGS, LDFLAGS, nocallback and noescape directives,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
cmd/xl-storage.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)