Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for signalPassFailure (0.32 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

        patterns.add<ConvertTFXlaCallModuleOp>(&getContext(), module_op);
        patterns.add<RemoveCustomCallWithSharding>(&getContext());
        if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLegalizeTFXlaCallModuleToStablehloPass() {
      return std::make_unique<TFXlaCallModuleOpToStablehloPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

      for (auto func : module_op.getOps<func::FuncOp>()) {
        if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) {
          func.emitError() << "quant-preprocess-op failed.";
          signalPassFailure();
        }
      }
    }
    
    }  // namespace
    
    // Creates an instance of the TensorFlow dialect PreprocessOp
    // pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePreprocessOpPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      if (use_tf2xla_fallback_) {
        tf2xla_fallback_device_type = device_type_;
      }
      if (failed(legalizeTF(op, legalize_chlo_, tf2xla_fallback_device_type,
                            prefer_tf2xla_))) {
        signalPassFailure();
      }
    }
    
    }  // end namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> createLegalizeTFPass(
        bool legalize_chlo, std::optional<StringRef> tf2xla_fallback_device_type,
        bool prefer_tf2xla) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

      RewritePatternSet patterns(context);
    
      patterns.add<InsertWeightParamPattern>(context);
    
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top