Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_ExpectedOutputDataType (0.17 sec)

  1. tensorflow/c/kernels.h

    // Returns the expected output data type of the ith output. If i < 0 or
    // i >= TF_NumOutputs(ctx), the program aborts.
    TF_CAPI_EXPORT extern TF_DataType TF_ExpectedOutputDataType(
        TF_OpKernelContext* ctx, int i);
    
    // Returns true if the ith input is allocated in host memory. If i < 0 or i >=
    // TF_NumInputs(ctx), the program aborts.
    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

      TF_StringView string_view_of_name;
      string_view_of_name.data = cc_ctx->def().name().data();
      string_view_of_name.len = cc_ctx->def().name().length();
      return string_view_of_name;
    }
    
    TF_DataType TF_ExpectedOutputDataType(TF_OpKernelContext* ctx, int i) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      CHECK_GE(i, 0);
      CHECK_LT(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