Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ShapeInferenceContextSetUnknownShape (0.39 sec)

  1. tensorflow/c/kernels/ops/bitcast.cc

      TF_ShapeHandle* result = TF_NewShapeHandle();
      TF_ShapeInferenceContextGetInput(ctx, 0, result, status);
      if (TF_GetCode(status) == TF_OK &&
          !TF_ShapeInferenceContextRankKnown(ctx, result)) {
        TF_ShapeInferenceContextSetUnknownShape(ctx, status);
        TF_DeleteShapeHandle(result);
        return;
      }
    
      // Find the size of the input and output data types.
      TF_DataType input_type;
      TF_DataType output_type;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/c/ops.cc

    }
    
    int TF_DimensionHandleValueKnown(TF_DimensionHandle* dim_handle) {
      return InferenceContext::ValueKnown(
          *reinterpret_cast<DimensionHandle*>(dim_handle));
    }
    
    void TF_ShapeInferenceContextSetUnknownShape(TF_ShapeInferenceContext* ctx,
                                                 TF_Status* status) {
      Status s = ::tensorflow::shape_inference::UnknownShape(
          reinterpret_cast<InferenceContext*>(ctx));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 28 22:41:35 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/c/ops.h

    // Places an unknown shape in all outputs for the given inference context. Used
    // for shape inference functions with ops whose output shapes are unknown.
    TF_CAPI_EXPORT extern void TF_ShapeInferenceContextSetUnknownShape(
        TF_ShapeInferenceContext* ctx, TF_Status* status);
    
    // Returns whether the given handle represents a known dimension.
    TF_CAPI_EXPORT extern int TF_DimensionHandleValueKnown(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top