Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 174 for signalPassFailure (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                                                         log_dir_path_);
    
      if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
        module.emitError() << "quant-add-dump-tensor-op failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateAddDumpTensorOpPass(
        DebuggerType debugger_type, std::string log_dir_path) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      // This pass assumes that all functions are suitable for export i.e., each
      // function has a single tf_executor.graph op and all islands wrap the
      // internal op perfectly. Verify that in the beginning once.
      if (failed(tensorflow::VerifyExportSuitable(module))) {
        signalPassFailure();
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        // future work.
        patterns.add<TF::ConvertTFEinsumOp>(ctx);
      }
    
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError() << "quant-prepare-lifting failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareLiftingPass(
        const OpSet target_opset) {
      return std::make_unique<PrepareLiftingPass>(target_opset);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      });
    
      return failure(decompose_result.wasInterrupted());
    }
    
    void DecomposeReduceDatasetPass::runOnOperation() {
      if (failed(DecomposeReduceDatasetInFunction(getOperation()))) {
        return signalPassFailure();
      }
    }
    
    }  // anonymous namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDecomposeReduceDatasetPass() {
      return std::make_unique<DecomposeReduceDatasetPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        });
      });
    
      if (walk_result.wasInterrupted()) return signalPassFailure();
    
      // Clean up and canonicalize to remove dead local variables as some local
      // variables might be dead after hoisting resource loads/stores.
      if (failed(TF::CleanupAndCanonicalizeForResourceOpLifting(module)))
        return signalPassFailure();
    }
    
    #define GEN_PASS_DEF_RESOURCEOPLIFTINGFORMAINFUNCTIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      }
    
      absl::Status pm_run_status = tensorflow::quantization::RunPassesOnModuleOp(
          mlir_dump_file_name_, pm, module);
      if (!pm_run_status.ok()) {
        signalPassFailure();
      }
    
      // Legacy weight-only does not require quantized ops.
      if (!enable_legacy_weight_only_) {
        RewritePatternSet patterns(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      TFQuantTypeConversionTarget target(getContext(), converter);
      if (failed(applyFullConversion(getOperation(), target, std::move(patterns))))
        return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass() {
      return std::make_unique<ConvertTFQuantTypes>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

      for (func::FuncOp func : GetSortedFunctions(module)) {
        if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) {
          func.emitError() << "quant-lift-quantizable-spots-as-functions failed.";
          signalPassFailure();
        }
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
        const QuantizationOptions& quant_options) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

        }
        for (auto func_op : original_func) {
          std::optional<llvm::StringMap<FunctionMetadata>> metadatas =
              GetFunctionMetadatas(func_op);
          if (!metadatas) {
            signalPassFailure();
            return;
          }
    
          CreateFunctions(module_op, *metadatas);
          CreateRemoteRunCalls(context, *metadatas);
    
          // Erases the original operations which have been cloned in the remote
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

      patterns.insert<ConvertCollectiveReduceV2>(context, &channel_id);
      patterns.insert<ConvertXlaAllReduce>(context, &channel_id);
    
      if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass() {
      return std::make_unique<LegalizeTFCollective>();
    }
    
    }  // namespace mhlo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top