- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for emitError (0.15 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
MLIRContext& ctx = getContext(); RewritePatternSet patterns(&ctx); patterns.add<RewriteNchwConvolutionToNhwc>(&ctx); if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) { func_op.emitError() << "Failed to run NchwConvolutionToNhwcPass."; signalPassFailure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
RewritePatternSet patterns(ctx); func::FuncOp func = getOperation(); patterns.add<AddQuantizationUnitLoc>(ctx); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { func.emitError() << "quant-add-quantization-unit-loc pattern " "conversion did not converge."; signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
MLIRContext& ctx = getContext(); RewritePatternSet patterns(&ctx); patterns.add<FoldTransposedConstantOp>(&ctx); if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) { func_op.emitError("Failed to fold constant->transpose pattern."); signalPassFailure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
FrozenRewritePatternSet frozen_patterns(std::move(patterns)); for (auto func : module.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-lift-quantizable-spots-as-functions-drq failed."; signalPassFailure(); } } } } // namespace std::unique_ptr<OperationPass<ModuleOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc
// island wraps a single op. Operation& wrapped_op = island.GetBody().front(); TF::ParallelExecutionIdPairs id_pairs; if (failed(TF::ParseParallelExecutionIds(&wrapped_op, id_pairs))) { wrapped_op.emitError() << "Malformed " << TF::kParallelExecAnnotation << " attribute"; return failure(); } if (id_pairs.empty()) continue; TF::ParallelIdsMap& ids_map = op_to_parallel_ids_map[island];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 07:53:51 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
if (exportedNames.empty()) { name = "global_ml_" + globalTensor.getSymName().str(); } else if (exportedNames.size() == 1) { name = exportedNames[0].str(); } else { return globalTensor.emitError() << "Multiple exported names for global tensor not supported yet"; } Attribute initial_value; if (globalTensor.getValue()) { initial_value = *globalTensor.getValue(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
// Iterate over the sorted list of functions to keep order deterministic. for (func::FuncOp func : GetSortedFunctions(module_op)) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-stablehlo-lift-quantizable-spots-as-functions failed."; signalPassFailure(); } } // Remove all attr_map attributes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
std::string bytecode; llvm::raw_string_ostream os(bytecode); if (mlir::failed(stablehlo::serializePortableArtifact( stablehlo_module, stablehlo::getCurrentVersion(), os))) { return stablehlo_module.emitError() << "failed to serialize the pruned stablehlo module"; } return bytecode; } // Serializes the stablehlo functions called by XlaCallModuleOp to bytecode
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
src/internal/runtime/exithook/hooks.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
} err = cmd.Wait() t.Logf("child output:\n%s", output.String()) if err == nil { t.Fatalf("Wait succeeded, want SIGABRT") } ee, ok := err.(*exec.ExitError) if !ok { t.Fatalf("Wait err got %T %v, want exec.ExitError", ee, ee) } ws, ok := ee.Sys().(syscall.WaitStatus) if !ok { t.Fatalf("Sys got %T %v, want syscall.WaitStatus", ee.Sys(), ee.Sys()) } if ws.Signal() != syscall.SIGABRT {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0)