- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for internalError (0.2 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
return absl::InternalError( "DepthwiseConv2D doesn't get any benefit of quantization in XLA."); } else if (function_name.contains("conv2d")) { // For Conv2D, the channel dimension must be static to calculate the // feature group count. if (!HasStaticShapeAtDims(call_op->getOperand(0), /*dims=*/3)) { return absl::InternalError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc
if (av_tensor == nullptr || av_tensor->GetBuffer() == nullptr) { return absl::InternalError("Input tensor does not have PjRtBuffer."); } auto* c_api_buffer = dynamic_cast<xla::PjRtCApiBuffer*>(av_tensor->GetBuffer().get()); if (c_api_buffer == nullptr) { return absl::InternalError( "The PjRtBuffer in the tensor is not type PjRtCApiBuffer."); } return c_api_buffer->c_buffer(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io.cc
namespace stablehlo::quantization::io { absl::StatusOr<std::string> GetLocalTmpFileName(tsl::Env* const env) { std::string tmp_fname{}; if (!env->LocalTempFilename(&tmp_fname)) { return absl::InternalError("Failed to create tmp file name."); } return tmp_fname; } absl::StatusOr<std::string> GetLocalTmpFileName() { return GetLocalTmpFileName(tsl::Env::Default()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc
tpu::TPUCompileMetadataProto& metadata_proto) { auto main_fn = module.lookupSymbol<mlir::func::FuncOp>(kEntryFuncName); if (!main_fn) { return absl::InternalError("Could not find main function in MLIR Module."); } mlir::FunctionType func_type = main_fn.getFunctionType(); for (auto input_type : func_type.getInputs()) { tensorflow::TensorShape tensor_shape;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/sparsity/sparsify_model.cc
return absl::InternalError("Couldn't import flatbuffer to MLIR."); } PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit); pm.addPass(TFL::CreateDenseToSparsePass()); if (failed(pm.run(module.get()))) { LOG(ERROR) << "Failed to sparsify: " << statusHandler.ConsumeStatus().message(); return absl::InternalError(absl::StrCat(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:16:40 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h
// Creates a temporary directory on an environment defined by the implementation // of `tsl::Env` and returns its path. Returns an InternalError status if // failed. absl::StatusOr<std::string> CreateTmpDir(tsl::Env* env); // Creates a temporary directory and returns its path. Returns an InternalError // status if failed. The file system used will be the default environment // returned by `tsl::Env::Default`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc
exported_names.push_back(key); } if (failed(mlir::tf_saved_model::FreezeVariables( module_op, saved_model_bundle->GetSession()))) { return absl::InternalError("Failed to freeze variables."); } // Run legalize TF to StableHLO pass to convert `tf.Const` and // `tf.Const`->`tf.Cast` patterns after variable freezing. The TF shape
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 10:49:12 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
const auto status = quantization::PreprocessAndFreezeGraph( module, module.getContext(), session); if (!status.ok()) { return status_handler.Combine( absl::InternalError("Failed to preprocess & freeze TF graph.")); } // TODO: b/264218457 - Refactor the component below once StableHLO Quantizer // can run DRQ. Temporarily using TF Quantization for StableHLO DRQ.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0)