- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_ShapeInferenceContextNumInputs (0.29 sec)
-
tensorflow/c/ops.cc
Set_TF_Status_from_Status(status, s); } TF_DimensionHandle* TF_NewDimensionHandle() { return reinterpret_cast<TF_DimensionHandle*>(new DimensionHandle); } int64_t TF_ShapeInferenceContextNumInputs(TF_ShapeInferenceContext* ctx) { auto* cc_ctx = reinterpret_cast<InferenceContext*>(ctx); return cc_ctx->num_inputs(); } void TF_ShapeInferenceContextGetInput(TF_ShapeInferenceContext* ctx, int i,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 28 22:41:35 UTC 2022 - 10.9K bytes - Viewed (0) -
tensorflow/c/ops.h
// TF_ShapeInferenceContext to examine the input state and determine the output // shape. // Returns the number of inputs in the given shape inference context. TF_CAPI_EXPORT extern int64_t TF_ShapeInferenceContextNumInputs( TF_ShapeInferenceContext* ctx); // Returns a newly allocated shape handle. The shapes represented by these // handles may be queried or mutated with the corresponding
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 16.3K bytes - Viewed (0) -
tensorflow/c/ops_test.cc
TEST(OpsTest, ShapeInferenceConcatenateShapes) { NodeDef def; shape_inference::InferenceContext c(0, def, MakeOpDef(2, 0), {S({1, 2}), S({3, 4})}, {}, {}, {}); ASSERT_EQ(2, TF_ShapeInferenceContextNumInputs(C_CTX(&c))); shape_inference::ShapeHandle a = c.input(0); shape_inference::ShapeHandle b = c.input(1); TF_ShapeHandle* result = TF_NewShapeHandle(); TF_Status* status = TF_NewStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 12.6K bytes - Viewed (0)