- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for model_out (0.1 sec)
-
tensorflow/c/eager/gradient_checker.cc
AbstractTensorHandlePtr model_out(model_outputs[0]); TF_Tensor* model_out_tensor; TF_RETURN_IF_ERROR(GetValue(model_out.get(), &model_out_tensor)); int num_dims_out = TF_NumDims(model_out_tensor); TF_DeleteTensor(model_out_tensor); // If the output is a scalar, then return the scalar output if (num_dims_out == 0) { outputs[0] = model_out.release(); return absl::OkStatus(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
NodeDef node_in, node_out; node_in.set_name("Test name"); node_in.set_op("Test op"); TF_Buffer* buffer = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(node_in, buffer)); TF_CHECK_OK(BufferToMessage(buffer, &node_out)); TF_DeleteBuffer(buffer); protobuf::util::MessageDifferencer differencer; EXPECT_TRUE(differencer.Compare(node_in, node_out)); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)