- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 244 for StringRef (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc
struct DeviceAttributeToLaunch : public impl::DeviceAttributeToLaunchPassBase<DeviceAttributeToLaunch> { void runOnOperation() override; }; void WrapOpInLaunch(Operation* op, llvm::StringRef device) { OpBuilder builder(op); auto launch_op = builder.create<tf_device::LaunchOp>( op->getLoc(), builder.getStringAttr(device), /*result_types=*/op->getResultTypes());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 00:59:46 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h
#include <memory> #include <string> #include <utility> #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" #include "llvm/Support/raw_os_ostream.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 17 18:49:43 UTC 2022 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc
explicit GraphOptByNamePass(const std::vector<std::string>& pass_names) : GraphOptPass(FindRegisteredPassesByName(pass_names)) {} llvm::StringRef getArgument() const final { return "run-tf-graph-optimization"; } llvm::StringRef getDescription() const final { return "runs passes registered as tensorflow::GraphOptimizationPass"; } private: void runOnOperation() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc
transform(sig_info.input_names, std::back_inserter(inputs), [](llvm::StringRef x) { return x.str(); }); in_specs.assign(sig_info.input_specs.begin(), sig_info.input_specs.end()); transform(sig_info.output_names, std::back_inserter(outputs), [](llvm::StringRef x) { return x.str(); }); out_specs.assign(sig_info.output_specs.begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 13 01:17:29 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.h
void Print() const; // Saves the report to `file_path`. The textproto representation of // `QuantizationResults` will be written to the file. Returns non-ok status // when the file write fails. absl::Status Save(StringRef file_path) const; private: ::stablehlo::quantization::QuantizationResults CollectResultsFromModuleOp( ModuleOp module_op) const; // Quantization results that are registered in this report. A quantization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.h
constexpr char kAttrArgumentDefaultAttr[] = "tfr.default"; constexpr char kAttrArgumentTypeAttr[] = "tfr.type"; class TFRDialect : public Dialect { public: explicit TFRDialect(MLIRContext *context); static StringRef getDialectNamespace() { return "tfr"; } Operation *materializeConstant(OpBuilder &builder, Attribute value, Type type, Location loc) override;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 01 14:00:36 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
#include <functional> #include <memory> #include <optional> #include <string> #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util.h
// error if the device string is invalid or has no id. mlir::LogicalResult GetDeviceOrdinalFromDeviceString(mlir::Location loc, llvm::StringRef device, int64_t* device_ordinal); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 05 20:02:33 UTC 2020 - 2.3K bytes - Viewed (0) -
src/internal/pkgbits/encoder.go
// section (if not already present), and then writing a relocation // into the element bitstream. func (w *Encoder) String(s string) { w.StringRef(w.p.StringIdx(s)) } // StringRef writes a reference to the given index, which must be a // previously encoded string value. func (w *Encoder) StringRef(idx Index) { w.Sync(SyncString) w.Reloc(RelocString, idx) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.cc
hlo_proto->mutable_hlo_module()->ParseFromString(contents) || parser.ParseFromString(contents, hlo_proto->mutable_hlo_module()); } mlir::OwningOpRef<mlir::ModuleOp> HloToMlirHloTranslateFunction( mlir::StringRef input, mlir::MLIRContext* context, bool import_all_computations) { xla::HloProto hlo_proto; std::string content(input.data(), input.size()); if (!LoadHloProto(content, &hlo_proto)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 8K bytes - Viewed (0)