Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for signalPassFailure (0.43 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

              graph.emitError()
                  << "Collect special Tpu ops failed: "
                  << "Graph contains op with inconsistent cluster info\n";
              signalPassFailure();
              return WalkResult::interrupt();
            }
          }
    
          ExcludeUnqualifiedIdentityOp(cluster_to_tpu_ops_map);
    
          // Iterate until fixed point on the block, as it may contain multiple
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      ModuleOp module_op = getOperation();
    
      func::FuncOp main_func_op = GetMainFunction(module_op);
      if (!main_func_op) {
        module_op.emitError("Main function op not found.");
        return signalPassFailure();
      }
    
      func::FuncOp save_func_op = GetSaveFuncOp(module_op);
      if (!save_func_op) return;
    
      MergeSaveFunctionOpsToMain(save_func_op, main_func_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

      patterns.add<AddCustomAggregationOp>(ctx, calib_opts_);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError() << "quant-insert-custom-aggregation-ops failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateInsertCustomAggregationOpsPass(const CalibrationOptions &calib_opts) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

      // semantics and then set token input node names attributes on the supported
      // ops.
      if (failed(RewriteCommunicationOps(module)) ||
          failed(SetTokenInputAttrs(module))) {
        signalPassFailure();
        return;
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreatePrepareTpuComputationForTfExportPass() {
      return std::make_unique<PrepareTpuComputationForTfExportPass>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      populateWithGenerated(patterns);
    
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError() << "quant-converting-tf-xla-op-to-tf-op failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTfXlaOpToTfOpPass() {
      return std::make_unique<ConvertTfXlaOpToTfOpPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc

      patterns.add<CommuteTransposeWithEwiseOps>(&getContext());
      patterns.add<CommuteBothInputsTransposedWithEwiseOps>(&getContext());
      if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreatePushTransposeThroughEwisePass() {
      return std::make_unique<PushTransposeThroughEwisePass>();
    }
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top