- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for failureurl (0.35 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.h
// dictionary attribute. // // If the op does not represent a TF function call, returns nullptr. // Otherwise, if the op does not have `caller_name`, returns failure. FailureOr<SymbolRefAttr> GetTfFuncCustomCallFuncName( stablehlo::CustomCallOp op); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 03:48:35 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
<< T::getOperationName() << ").\n"); return failure(); } } FailureOr<int32_t> CastI64ToI32(int64_t value); // Tries to cast an array of int64 to int32. If any of the element in the // array is not in the range of int32, returns failure(). FailureOr<SmallVector<int32_t>> CastI64ArrayToI32( ArrayRef<int64_t> int64_array);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.h
#include "mlir/Support/LogicalResult.h" // from @llvm-project namespace mlir::quant::tensorflow { // GetDenseAttrFromTensorProtoAttr returns DenseElementsAttr from tensor proto. FailureOr<mlir::DenseElementsAttr> GetDenseAttrFromTensorProtoAttr( llvm::StringRef mangled_tensor_proto, TensorType result_tensor_type); // Check if a type is TF qint type. bool IsTFQintType(Type type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h
// "tf_saved_model.index_path", if the bound input is attached to the // `tf_saved_model::AssetOp`. // * Strips the "assets/" prefix of the filename when setting it to // `AssetFileDef`. FailureOr<SmallVector<tensorflow::AssetFileDef>> ConvertAssetArgs( ModuleOp module_op); } // namespace mlir::quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 01:45:41 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc
#include "xla/shape.h" #include "xla/stream_executor/tpu/c_api_conversions.h" #include "xla/stream_executor/tpu/tpu_api.h" #include "xla/translate/mhlo_to_hlo/type_to_shape.h" namespace mlir { static FailureOr<std::vector<int64_t>> GetTPUInfeedLayoutFromAPI( RankedTensorType t) { // Call the TPU API to determine the right infeed layout. Note that // this can fail if we're not running on a TPU-enabled node.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/visitor.h
mlir::SymbolTableCollection* symbol_table = nullptr); // Creates a new MLIR module that contains only the given functions and all // reachable functions from them. mlir::FailureOr<mlir::OwningOpRef<mlir::ModuleOp>> CreatePrunedModule( mlir::ModuleOp module, llvm::ArrayRef<llvm::StringRef> function_names); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 03:46:51 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/test_base.h
// representation of a `ModuleOp` containing a single function `@main`. // Returns `failure` iff there is no `@main` or no such operation is found in // `@main`. template <typename OpT> FailureOr<OpT> FindFirstOpFromMainFunc(ModuleOp module_op) { func::FuncOp main_func_op = FindMainFuncOp(module_op); if (main_func_op == nullptr) return failure(); auto ops = main_func_op.getOps<OpT>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
if (splatLhs && splatRhs) { auto signedLhs = addSign(splatLhs.getSplatValue<ValType>(), etype); auto signedRhs = addSign(splatRhs.getSplatValue<ValType>(), etype); FailureOr<decltype(signedLhs)> result(Convert()(signedLhs, signedRhs)); return succeeded(result) ? SplatElementsAttr::get(type, *result) : Attribute(); } SmallVector<ValType, 6> values;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc
return op.getCallTargetName() == kTfTargetName; } DictionaryAttr GetTfBackendConfig(stablehlo::CustomCallOp op) { return op->getAttrOfType<DictionaryAttr>(kTfBackendConfigAttrName); } FailureOr<SymbolRefAttr> GetTfFuncCustomCallFuncName( stablehlo::CustomCallOp op) { if (!IsTfFuncCustomCall(op)) { return success(nullptr); } auto config = GetTfBackendConfig(op); if (config == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// reached convergence, false otherwise. FailureOr<bool> PropagateShapeIntoAttachedFunctions(Operation* op, int64_t max_iterations); // Shape propagation for region based control flow. // Returns a failure() on error, otherwise returns true to indicate that it // reached convergence, false otherwise. FailureOr<bool> PropagateShapeIntoAttachedRegions(Operation* op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)