Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 641 for unique_ptr (0.15 sec)

  1. tensorflow/compiler/mlir/lite/debug/debug.cc

          file = nullptr;
        }
      }
    
      // The file being written to.
      std::unique_ptr<tsl::WritableFile> file;
    };
    
    // Reproducer stream that emits a reproducer to the given `llvm::raw_ostream`.
    class ReproducerStream : public mlir::ReproducerStream {
     public:
      ReproducerStream(std::string name, std::unique_ptr<llvm::raw_ostream> os)
          : name_(std::move(name)), os_(std::move(os)) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h

    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v2 {
    
    // Given an MLIR module, returns a GraphDef.
    absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef(
        mlir::ModuleOp module, const GraphExportConfig& configs);
    
    // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

      tensorflow::XlaContext* context_;  // Ref-counted.
    
      std::unique_ptr<tensorflow::StaticDeviceMgr> device_mgr_;
      tensorflow::Device* device_;  // Owned by device_mgr_;
      std::unique_ptr<tensorflow::ScopedStepContainer> step_container_;
      std::unique_ptr<tensorflow::FunctionLibraryDefinition> flib_def_;
      std::unique_ptr<tensorflow::ProcessFunctionLibraryRuntime> pflr_;
      tensorflow::OpKernelContext::Params params_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/bridge_logger_test.cc

                                         &mlir_module_with_add));
    
      std::unique_ptr<mlir::Pass> partitioning_pass =
          mlir::TFTPU::CreateTPUResourceReadsWritesPartitioningPass();
      std::unique_ptr<mlir::Pass> shape_inference_pass =
          mlir::TF::CreateTFShapeInferencePass();
      std::unique_ptr<mlir::Pass> inliner_pass = mlir::createInlinerPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass_test_helper.cc

    #include "tensorflow/core/lib/gtl/cleanup.h"
    #include "tensorflow/core/public/session_options.h"
    
    namespace tensorflow {
    /*static*/ Status MarkForCompilationPassTestHelper::MarkForCompilation(
        std::unique_ptr<Graph>* graph, FunctionLibraryDefinition* flib_def,
        MarkForCompilationPassTestHelper::Options options) {
      // Assign all unassigned nodes to the CPU device.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 19:51:48 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h

    // rewrite the graph to use pipelining for better device utilization.
    std::unique_ptr<OperationPass<ModuleOp>> CreateEmbeddingSequencingPass();
    
    // This is a strictly sequential and formally correct fallback option for the
    // embedding pipelining pass intended for debugging during pipelining
    // development.
    std::unique_ptr<OperationPass<ModuleOp>> CreateEmbeddingPipeliningPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    // Creates a pass that rewrites `tf_device.launch_func` on TPUs into TPU runtime
    // ops.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTPURewritePass(
        llvm::StringRef module_name = llvm::StringRef());
    
    // Creates a pass that adds ops which perform formatting on variables at
    // run-time according to compilation result.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTPUVariableRuntimeReformattingPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

        CHECK(DeviceFactory::AddDevices(
                  SessionOptions(), "/job:localhost/replica:0/task:0", &devices_)
                  .ok());
      }
    
     private:
      std::vector<std::unique_ptr<Device>> devices_;
    };
    
    using ::tensorflow::testing::FindNodeByName;
    using ::tensorflow::testing::matchers::Attr;
    using ::tensorflow::testing::matchers::CtrlDeps;
    using ::tensorflow::testing::matchers::Inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation.h

    #include "mlir/Pass/PassInstrumentation.h"  // from @llvm-project
    
    namespace mlir {
    
    void RegisterPassInstrumentor(
        const std::string& name,
        std::function<std::unique_ptr<PassInstrumentation>()> creator);
    std::vector<std::function<std::unique_ptr<PassInstrumentation>()>>
    GetPassInstrumentors();
    
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 22 18:41:36 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

                             const SavedVariable& variable,
                             std::unique_ptr<Variable>* output);
    
    Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset,
                          const std::string& saved_model_dir,
                          absl::Span<const AssetFileDef> assets,
                          std::unique_ptr<Asset>* output);
    
    // Creates a TFConcreteFunction from a SavedConcreteFunction.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
Back to top