- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for eval (0.12 sec)
-
tensorflow/c/c_api.cc
using tensorflow::RecordMutation; tensorflow::AttrValue attr_val; if (!attr_val.ParseFromArray(attr_value_proto->data, attr_value_proto->length)) { status->status = absl::InvalidArgumentError("Invalid AttrValue proto"); return; } mutex_lock l(graph->mu); op->node.AddAttr(attr_name, attr_val); RecordMutation(graph, *op, "setting attribute"); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
for (size_t i = 0; i < values.size(); i++) { memset(&option_values[i], 0, sizeof(option_values[i])); option_values[i].buffer_val.buf = const_cast<char*>(values[i].c_str()); option_values[i].buffer_val.buf_length = values[i].size(); } option_value.values = &option_values[0]; option.value = &option_value; UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
// | | // Const_0 Const_1 // const float const0_val[] = {1.0, 2.0, 3.0, 4.0}; const float const1_val[] = {1.0, 0.0, 0.0, 1.0}; TF_Operation* const0 = FloatConst2x2(graph_, s_, const0_val, "Const_0"); TF_Operation* const1 = FloatConst2x2(graph_, s_, const1_val, "Const_1"); TF_Operation* matmul = MatMul(graph_, s_, const0, const1, "MatMul");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
root_dir_ = tensorflow::strings::StrCat( "/", tmp_dir_, tensorflow::strings::StrCat("tf_fs_", rng_val_, "_", test_name), "/"); } else { root_dir_ = tensorflow::io::JoinPath( tmp_dir_, tensorflow::strings::StrCat("tf_fs_", rng_val_, "_", test_name)); } if (!GetParam().empty()) { root_dir_ = tensorflow::strings::StrCat(GetParam(), "://", cloud_path_,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)