Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for signalPassFailure (0.34 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/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)
  6. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // Remove the call_op to finish the op expansion.
        call_op.erase();
        changed |= true;
        return WalkResult::advance();
      });
    
      if (walk_result.wasInterrupted()) {
        signalPassFailure();
        return failure();
      }
    
      // If `changed` is false, it is considered as a failure, so the recursive
      // rewrite will stop.
      return success(changed);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

        if (quant_specs_.inference_type == tensorflow::DT_INVALID) {
          func.emitError() << "prepare-quantize pass failed: unsupported "
                              "inference type specification";
          signalPassFailure();
          return;
        }
        quant_specs_.post_training_quantization = post_training_quantize_;
        quant_specs_.legacy_float_scale = legacy_float_scale_;
        quant_specs_.disable_set_input_nodes_quantization_params =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top