Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OpKernelConstruction_GetAttrFunction (0.4 sec)

  1. tensorflow/c/kernels.h

    // `status` will be set. The caller takes ownership of the returned TF_Buffer
    // (if not null) and is responsible for managing its lifetime.
    TF_CAPI_EXPORT extern TF_Buffer* TF_OpKernelConstruction_GetAttrFunction(
        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(
    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

      for (int i = 0; i < len; ++i) {
        vals[i] = TF_TensorFromTensor(v[i], &status->status);
        if (!status->status.ok()) return;
      }
    }
    
    TF_Buffer* TF_OpKernelConstruction_GetAttrFunction(TF_OpKernelConstruction* ctx,
                                                       const char* attr_name,
                                                       TF_Status* status) {
    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