Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 641 for unique_ptr (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h

    class TFRDecomposeContext {
     public:
      // The entry function to get a decompose context. All the required passes have
      // been initialized.
      static absl::StatusOr<std::unique_ptr<TFRDecomposeContext>> Get(
          mlir::MLIRContext* mlir_ctx);
    
      // Constructor of the decompose context. To share the decompose library, the
      // whole decompose TFR function library is loaded.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 11:12:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h

    namespace tensorflow {
    
    // Create a module pass that will execute the given TF GraphOptimization passes
    // in sequence.
    // Pass requires that the module ran on is convertible to TF Graph.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateTensorFlowGraphOptimizationPass(
        std::vector<tensorflow::GraphOptimizationPass*> tf_passes);
    
    // Same as above but pass names instead of the passes provided. The registered
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 12 15:01:38 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/pluggable_profiler/pluggable_profiler.cc

      return OkStatus();
    }
    
    class PluggableProfiler : public tensorflow::profiler::ProfilerInterface {
     public:
      // The caller must have validated profiler_fns and profiler.
      static std::unique_ptr<tensorflow::profiler::ProfilerInterface>
      CreatePluggableProfiler(const ProfileOptions& options, TP_Profiler profiler,
                              TP_ProfilerFns profiler_fns) {
        if (options.device_tracer_level() == 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler_client.h

     public:
      DeviceCompilerClient() = default;
      virtual ~DeviceCompilerClient() = default;
    
      // Compiles `result` (HLO) to an `ExecutableType` using `ClientType` and
      // returns it.
      virtual StatusOr<std::unique_ptr<ExecutableType>> BuildExecutable(
          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result) = 0;
    
      // Serializes an available `executable` to string using `ClientType` and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      void UseOriginalFunctionNames(NodeDef& node_def);
    
      Status AddEdge(Operation* inst);
    
      absl::StatusOr<std::unique_ptr<NodeDef>> GetArgumentNode(
          BlockArgument arg, unsigned index, llvm::StringRef name);
      absl::StatusOr<std::unique_ptr<NodeDef>> GetReturnNode(FuncOp function,
                                                             Value operand,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      void UseOriginalFunctionNames(NodeDef& node_def);
    
      Status AddEdge(Operation* inst);
    
      absl::StatusOr<std::unique_ptr<NodeDef>> GetArgumentNode(
          BlockArgument arg, unsigned index, llvm::StringRef name);
      absl::StatusOr<std::unique_ptr<NodeDef>> GetReturnNode(FuncOp function,
                                                             Value operand,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.cc

          signalPassFailure();
      }
    };
    
    }  // namespace
    }  // namespace tf_saved_model
    
    namespace tf_test {
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLiftVariablesTestPass() {
      return std::make_unique<tf_saved_model::LiftVariablesTestPass>();
    }
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftVariablesInvalidSessionTestPass() {
      return std::make_unique<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc

          }
        });
      }
    };
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateSimpleTFDeviceAssignmentPass(
        llvm::StringRef default_device) {
      return std::make_unique<SimpleTFDeviceAssignmentPass>(default_device);
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateTFDeviceAssignmentByFuncAttrPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/unified_api_testutil.cc

    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    AbstractContext* BuildFunction(const char* fn_name) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name, status.get());
      return unwrap(graph_ctx);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/pjrt_tensor_buffer_util.h

    // device memory. It also owns the PjRtBuffer.
    //
    // TODO(b/289001822): Create a unit test to cover this function.
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer);
    
    // For TensorFlow internal use only.
    class PjRtTensorBufferUtil {
     public:
      // Takes the device memory pointer from the PjRtBuffer and create a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top