Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetNewRef (0.3 sec)

  1. tensorflow/c/eager/graph_function.h

      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractFunction* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      core::RefCountPtr<FunctionRecord> func_record_;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      return absl::OkStatus();
    }
    
    absl::StatusOr<tensorflow::core::RefCountPtr<tensorflow::FunctionRecord>>
    MlirFunction::GetFunctionRecord() {
      if (func_record_) {
        return func_record_.GetNewRef();
      }
      PassManager pm(func_.getContext());
      ::tensorflow::applyTensorflowAndCLOptions(pm);
      pm.addNestedPass<func::FuncOp>(
          CreateFunctionalToExecutorDialectConversionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top