Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MaybeSetOpName (0.26 sec)

  1. tensorflow/c/eager/tracing_utils.cc

    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    namespace tracing {
    
    Status MaybeSetOpName(AbstractOperation* op, const char* op_name) {
      if (isa<TracingOperation>(op)) {
        TF_RETURN_IF_ERROR(dyn_cast<TracingOperation>(op)->SetOpName(op_name));
      }
      if (isa<gradients::TapeOperation>(op)) {
        TF_RETURN_IF_ERROR(MaybeSetOpName(
            dyn_cast<gradients::TapeOperation>(op)->GetBackingOperation(),
            op_name));
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tracing_utils.h

    #ifndef TENSORFLOW_C_EAGER_TRACING_UTILS_H_
    #define TENSORFLOW_C_EAGER_TRACING_UTILS_H_
    
    #include "tensorflow/c/eager/abstract_operation.h"
    
    namespace tensorflow {
    namespace tracing {
    Status MaybeSetOpName(AbstractOperation*, const char* op_name);
    }  // namespace tracing
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 31 17:39:44 GMT 2022
    - 1016 bytes
    - Viewed (0)
Back to top