- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IdentityOp (0.09 sec)
-
tensorflow/c/eager/c_api_test.cc
TFE_Op* identityOp = TFE_NewOp(ctx, "IdentityN", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Try to retrieve lengths before building the attributes (should fail) EXPECT_EQ(-1, TFE_OpGetInputLength(identityOp, "input", status)); CHECK_NE(TF_OK, TF_GetCode(status)) << TF_Message(status); EXPECT_EQ(-1, TFE_OpGetOutputLength(identityOp, "output", status));
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/eager/c_api_test_util.h
// Return a matmul op multiplying `a` by `b`. TFE_Op* MatMulOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b); // Return an identity op. TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a); // Return a shape op fetching the shape of `a`. TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Jul 17 23:43:59 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
TFE_OpAddInput(op, b, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(a)); return op; } TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a) { TF_Status* status = TF_NewStatus(); TFE_Op* op = TFE_NewOp(ctx, "Identity", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0)