Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_OpKernelConstruction_GetName (0.23 sec)

  1. tensorflow/c/kernels.h

        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(
        TF_OpKernelConstruction* ctx);
    
    // Allocates Tensor for output at given index. Caller takes ownership of
    // returned TF_Tensor and should deallocate it using TF_DeleteTensor(tensor).
    //
    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

      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      return cc_ctx->HasAttr(attr_name);
    }
    
    TF_StringView TF_OpKernelConstruction_GetName(TF_OpKernelConstruction* ctx) {
      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelConstruction*>(ctx);
      TF_StringView string_view_of_name;
      string_view_of_name.data = cc_ctx->def().name().data();
    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