Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 175 of 175 for signalPassFailure (0.39 sec)

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

      populateWithGenerated(patterns);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError() << "quant-replace-cast-hacks-with-tf-xla-ops failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateReplaceCastHacksWithTFXLAOpsPass() {
      return std::make_unique<ReplaceCastHacksWithTFXLAOpsPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          &ctx);
    
      if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) {
        module_op.emitError()
            << "Failed to compose stablehlo uniform quantized types.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateComposeUniformQuantizedTypePass() {
      return std::make_unique<ComposeUniformQuantizedTypePass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

              "converter.target_spec.supported_ops = "
              "[tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]\\n "
              "converter._experimental_lower_tensor_list_ops = False");
          signalPassFailure();
        }
      } else {
        // If `allow_tensorlist_pass_through` is set to true, if legalization fails
        // we should not leak the diagnostic info outside this pass. Hence we use
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op.emitError() << "Failed to convert stablehlo ops with uniform "
                               "quantized types to tflite ops.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateUniformQuantizedStableHloToTflPass() {
      return std::make_unique<UniformQuantizedStableHloToTflPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("mhlo to TF legalization failed.");
        signalPassFailure();
      }
    }
    
    }  // end namespace
    
    void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
                                         MLIRContext* context) {
      patterns
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top