Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for unique_ptr (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateMoveTransposesPass();
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLayoutAssignmentPass();
    
    // Guarantee that all FuncOp's have a single use.
    std::unique_ptr<OperationPass<ModuleOp>> CreateGuaranteeAllFuncsOneUsePass();
    
    // Optional pass which will unroll BatchMatMul and use only MatMul
    std::unique_ptr<OperationPass<func::FuncOp>> CreateUnrollBatchMatMulPassPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateDenseToSparsePass();
    
    // Creates function pass to legalize TF While to TFL While.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFWhilePass();
    
    // Legalize tflite flex ops to TF ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLiftTfliteFlexOpsPass();
    
    // Creates an instance of the TensorFlow Lite dialect WhileOp outline pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // path is available.
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertMainFunctionPass();
    
    // Converts FakeQuant ops to quant.qcast and quant.dcast (QDQ) pairs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertFakeQuantToQdqPass();
    
    // Lifts the quantizable spots as composite functions.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    // Creates a pass which unfuses MHLO batch norm inference op into arithmetic
    // ops.
    std::unique_ptr<Pass> createUnfuseBatchNormPass();
    
    // Creates a pass which constant folds broadcast_in_dim op conditionally.
    std::unique_ptr<Pass> createFoldBroadcastPass();
    
    // Creates a pass which fuses MHLO binary element-wise ops and convolution op.
    std::unique_ptr<Pass> createFuseConvolutionPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h

    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateHoistBroadcastReadPass();
    
    // Creates a pass that moves broadcasts from TF host ops to XLA code, encoded as
    // XlaAllReduces. This enables use of the device network for broadcasts, which
    // is faster.
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateXlaBroadcastPass();
    
    // Creates a pass that identifies XLASharding ops in launch op for TPU
    // computation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

    Status IncreaseDynamismForAutoJit(const Scope& s,
                                      std::unique_ptr<Graph>* result) {
      std::vector<std::unique_ptr<Device>> devices;
      devices.push_back(FakeDevice::Make(kDeviceName, DEVICE_GPU));
      devices.push_back(FakeDevice::Make(kHostName, DEVICE_CPU));
    
      std::unique_ptr<DeviceSet> device_set(new DeviceSet());
      for (auto& device : devices) {
        device_set->AddDevice(device.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc

      TF_ASSERT_OK(stream->BlockHostUntilDone());
    
      TF_ASSERT_OK_AND_ASSIGN(auto se_event, executor->CreateEvent());
      tsl::AsyncValueRef<std::unique_ptr<se::Event>> done_event =
          tsl::MakeConstructedAsyncValueRef<std::unique_ptr<se::Event>>(
              std::move(se_event));
      XlaHostRecvDeviceContext* device_context =
          new XlaHostRecvDeviceContext(stream.get(), gpu_dst, shape, done_event);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      auto ret3 = ops::_Retval(s.WithOpName("ret3"), while_op.output[1], 3);
      std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(s.ToGraph(g.get()));
    
      std::vector<std::unique_ptr<FunctionBody>> fbodies;
      TF_CHECK_OK(RearrangeFunctionArguments(
          [&](const NameAttrList &function, const FunctionBody **fbody) {
            std::unique_ptr<FunctionBody> new_fbody;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCommunicationPass();
    
    // Legalizes TF/XLA collective ops (TF dialect) to HLO dialect collective
    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass();
    
    // Verifies that the TF/XLA ops have all been lowered to MHLO.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateVerifyTFXLALegalizationPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

      static absl::StatusOr<std::unique_ptr<WritableFileWrapper>> Create(
          const std::string& filepath) {
        std::unique_ptr<tsl::WritableFile> file;
        TF_RETURN_IF_ERROR(tsl::Env::Default()->NewWritableFile(filepath, &file));
        return absl::WrapUnique(new WritableFileWrapper(std::move(file)));
      }
    
     private:
      explicit WritableFileWrapper(std::unique_ptr<tsl::WritableFile> file)
          : file_(std::move(file)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top