- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for mathml (0.18 sec)
-
tensorflow/c/eager/c_api_test.cc
TFE_TensorHandle* m = TestMatrixTensorHandle(ctx); TFE_Op* matmul = TFE_NewOp(ctx, "MatMul", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_TensorHandle* retvals[1]; int num_retvals = 1; for (auto s : state) { TFE_OpReset(matmul, "MatMul", nullptr, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(matmul, m, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Build an abstract operation. auto* matmul_op = TF_NewAbstractOp(graph_ctx); TF_AbstractOpSetOpType(matmul_op, "MatMul", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TF_AbstractOpSetOpName(matmul_op, "my_matmul", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
EXPECT_EQ(7, product[0]); EXPECT_EQ(10, product[1]); EXPECT_EQ(15, product[2]); EXPECT_EQ(22, product[3]); TF_DeleteStatus(status); } TEST(CAPI, Executor_MatMul_CPU) { Executor_MatMul_CPU(false); } TEST(CAPI, Executor_MatMul_CPUAsync) { Executor_MatMul_CPU(true); } void Deleter(void* data, size_t unused, void* tensor_handle) { TFE_DeleteTensorHandle(static_cast<TFE_TensorHandle*>(tensor_handle)); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
TF_Operation* const1 = FloatConst2x2(graph_, s_, const1_val, "Const_1"); TF_Operation* matmul = MatMul(graph_, s_, const0, const1, "MatMul"); inputs[0] = TF_Output{const0, 0}; inputs[1] = TF_Output{const1, 0}; outputs[0] = TF_Output{matmul, 0}; EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } void BuildExpectedGraph(bool grad_inputs_provided,
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_remote_test_util.h
==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ #define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ // Run a function containing a MatMul op and check its output. // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one // which creates a remote input, to simulate a scenario that the remote input
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/BUILD
"//tensorflow/c/eager:tracing_utils", "//tensorflow/core:framework", "//tensorflow/core/platform:errors", ], ) cc_library( name = "math_ops", srcs = [ "math_ops.cc", ], hdrs = [ "math_ops.h", ], visibility = [ "//tensorflow:internal", ], deps = [ ":array_ops", "//tensorflow/c/eager:abstract_context",
Plain Text - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Nov 17 15:20:54 GMT 2022 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/README.md
consistent with the original source files registering each operator. For example since `REGISTER_OP("MatMul")` appears in ***core/math_ops.cc***, the "MatMul" operator in the script should be in the "math" category, and it will be generated in the output file `c/experimental/ops/math_ops.cc`. Running this script should be a no-op, generating identical code other than
Plain Text - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jul 28 17:21:01 GMT 2021 - 993 bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
// Calc Grad AbstractTensorHandle* matmul_A_output; AbstractTensorHandle* matmul_B_output; std::string name_grad_A = "MatMul_Grad_A"; std::string name_grad_B = "MatMul_Grad_B"; if (!t_a && !t_b) { TF_RETURN_IF_ERROR(MatMul(ctx, upstream_grad, B.get(), &matmul_A_output, /*transpose_a = */ false,
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> matmul( MatMulOp(context, hcpu, hdevice), TFE_DeleteOp); TFE_OpSetDevice(matmul.get(), name, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_TensorHandle* retval; int num_retvals = 1; TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_MATH_GRAD_H_ #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_MATH_GRAD_H_ #include "tensorflow/c/eager/gradients.h" namespace tensorflow { namespace gradients { GradientFunction* AddRegisterer(const ForwardOperation& op);
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Dec 03 22:28:48 GMT 2020 - 1.5K bytes - Viewed (0)