Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OpKernelConstruction_HasAttr (0.58 sec)

  1. tensorflow/c/kernels.h

        TF_OpKernelConstruction* ctx, const char* attr_name, TF_Status* status);
    
    // Return true if the kernel construction has the attr_name
    TF_CAPI_EXPORT extern bool TF_OpKernelConstruction_HasAttr(
        TF_OpKernelConstruction* ctx, const char* attr_name, TF_Status* status);
    
    // Returns the unique operation name for this OpKernel.
    TF_CAPI_EXPORT extern TF_StringView TF_OpKernelConstruction_GetName(
    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_status = tensorflow::MessageToBuffer(function, buffer);
      tsl::Set_TF_Status_from_Status(status, cc_status);
      if (!cc_status.ok())
        return nullptr;
      else
        return buffer;
    }
    
    bool TF_OpKernelConstruction_HasAttr(TF_OpKernelConstruction* ctx,
                                         const char* attr_name, TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(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