- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 124 for StringRef (0.19 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h
std::vector<int32_t>* out_vec); // Gets boolean from composite attrs if it exists. std::optional<bool> GetBoolFromCompositeAttr( const DictionaryAttr& composite_attrs, llvm::StringRef attr_name); // Given a DictionaryAttr, checks if it has a DenseIntElementsAttr attribute // with the name attr_name. If so, extracts its values and stores as a vector // of int32_t elements.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 18:33:05 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h" #include <cstdint> #include <cstring> #include <string> #include <utility> #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/raw_ostream.h" #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/Verifier.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
#include <cstddef> #include <memory> #include <optional> #include <stdexcept> #include <string> #include <type_traits> #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
absl::Status status = absl::OkStatus(); module_op.walk([&py_function_library, &calibration_options, &status, &statistics_map](mlir::TF::CustomAggregatorOp aggregator_op) { mlir::StringRef id = aggregator_op.getId(); auto iter = statistics_map.find(id); if (iter == statistics_map.end()) { status = absl::InternalError( absl::StrFormat("Calibrated data does not exist. Cannot find "
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/tfrt/ir/tfrt_fallback_common.h
p << '}'; } } void GetExecuteOpAttrsCommon( mlir::MLIRContext *context, llvm::ArrayRef<mlir::Attribute> op_attr_array, llvm::SmallVectorImpl<std::pair<llvm::StringRef, mlir::Attribute>> *op_attrs); struct ParseExecuteOpOptions { bool has_chain = false; bool has_key = false; bool has_device = false; bool has_func_attr = false; bool has_cost = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h
mlir::ModuleOp module, bool export_to_mlir, toco::TocoFlags& toco_flags, const mlir::TFL::PassConfig& pass_config, const std::unordered_set<std::string>& saved_model_tags, llvm::StringRef saved_model_dir, SavedModelBundle* saved_model_bundle, std::string* result, bool serialize_stablehlo_ops = false, const quantization::PyFunctionLibrary* quantization_py_function_lib = nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 08:30:24 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc
if (failed(GetOp(region, &send_op))) return failure(); // No TPU embedding ops. if (!recv_op && !send_op) return success(); Location loc = recv_op ? recv_op.getLoc() : send_op.getLoc(); StringRef config = recv_op ? recv_op.getConfig() : send_op.getConfig(); // Create XlaRecvTPUEmbeddingDeduplicationData op. OpBuilder builder(region); auto output_ty =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 22:55:42 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
.setPassPipelineParser(passPipeline)) .succeeded()); } TEST(DumpRawStringToFileTest, Valid) { llvm::StringRef example = "module {\n}"; setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); std::string filepath = DumpRawStringToFile("example", example); ASSERT_NE(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 18 13:40:21 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" namespace mlir::quant::stablehlo { absl::StatusOr<std::string> ConvertSerializedStableHloModuleToBfloat16( const StringRef serialized_stablehlo_module) { // StableHLO module is empty often because the XlaCallModuleOp is already // deserialized, e.g. after invoking XlaCallModuleDeserializationPass. We // don't handle this situation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/quantization/common/ir/QuantOps.h" #include <numeric> #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/MathExtras.h" #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0)