- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for th (0.15 sec)
-
tensorflow/c/c_api.cc
status->status = absl::OkStatus(); return; } count++; } status->status = OutOfRange("Operation only has ", count, " attributes, can't get the ", i, "th"); } void TF_OperationToNodeDef(TF_Operation* oper, TF_Buffer* output_node_def, TF_Status* status) { status->status = MessageToBuffer(oper->node.def(), output_node_def); }
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/c_api_test.cc
TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); } TF_DeleteTensor(t); } } // namespace } // namespace tensorflow // TODO(josh11b): Test:
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/eager/c_api_test_util.cc
memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t)); TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteTensor(t); TF_DeleteStatus(status); return th; } TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2)