Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/kernels.h

    // to change at any time.
    TF_CAPI_EXPORT extern SP_Stream TF_GetStream(TF_OpKernelContext* ctx,
                                                 TF_Status* status);
    
    // 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.
    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

            cc_ctx->op_device_context()->stream());
        return c_stream->Handle();
      }
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    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) {
    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