Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_SetOutput (0.08 sec)

  1. tensorflow/c/kernels.cc

      CHECK_GE(index, 0);                     // Crash OK
      CHECK_LT(index, cc_ctx->num_inputs());  // Crash OK
      return static_cast<TF_DataType>(cc_ctx->input_dtype(index));
    }
    
    void TF_SetOutput(TF_OpKernelContext* ctx, int i, const TF_Tensor* tensor,
                      TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      if (i < 0 || i >= cc_ctx->num_outputs()) {
    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