Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_NumOutputs (0.13 sec)

  1. tensorflow/c/kernels.h

    // TF_NumInputs returns the number of inputs available in ctx.
    TF_CAPI_EXPORT extern int TF_NumInputs(TF_OpKernelContext* ctx);
    
    // TF_NumOutputs returns the number of outputs to be placed in *ctx by the
    // kernel.
    TF_CAPI_EXPORT extern int TF_NumOutputs(TF_OpKernelContext* ctx);
    
    // Retrieves the ith input from ctx. If TF_GetCode(status) is TF_OK, *tensor is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:46:22 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. tensorflow/c/kernels.cc

    }
    
    int TF_NumInputs(TF_OpKernelContext* ctx) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      return cc_ctx->num_inputs();
    }
    
    int TF_NumOutputs(TF_OpKernelContext* ctx) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      return cc_ctx->num_outputs();
    }
    
    void TF_GetInput(TF_OpKernelContext* ctx, int i, TF_Tensor** tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top