- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 101 for StringRef (0.18 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
ConvertTfXlaOpToTfOpPass() = default; StringRef getArgument() const final { // This is the argument used to refer to the pass in // the textual format (on the commandline for example). return "quant-convert-tf-xla-op-to-tf-op"; } StringRef getDescription() const final { // This is a brief description of the pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
void runOnFunction( func::FuncOp func, const TF::ResourceAliasAnalysis::Info& resource_alias_analysis); StringRef getArgument() const final { return "tf-tpu-dynamic-layout-pass"; } StringRef getDescription() const final { return "Inserts TPU layout ops to determine layout at run time."; } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc
#include "tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.h" #include <string> #include "absl/log/log.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/Pass/PassManager.h" // from @llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project #include "tensorflow/compiler/jit/flags.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 16:09:14 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
auto xla_call_module_op = FindOperationOfType<TF::XlaCallModuleOp>(main_fn); ASSERT_THAT(xla_call_module_op, NotNull()); EXPECT_EQ(GetEntryFunctionName(xla_call_module_op), StringRef("composite_fn_1")); } TEST_F(AttrsAndConstraintsTest, GetEntryFunctionNameWhenNotSet) { OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleXlaCallModuleNoEntryNoQuantTrait);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
#include "absl/log/log.h" #include "absl/status/statusor.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/raw_ostream.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
} return success(); } void ReplicateOp::build( OpBuilder& builder, OperationState& state, int n, const llvm::SmallDenseMap<StringRef, llvm::SmallVector<StringRef, 4>>& devices, llvm::ArrayRef<std::pair<ValueRange, Type>> replicated_inputs, ValueRange packed_inputs, TypeRange replica_output_types) { std::optional<DictionaryAttr> devices_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
// dimension. If such dimension does not exists, returns the last dimension of // rhs. static int64_t GetDefaultQuantizationDimension(TF::XlaCallModuleOp op) { const StringRef function_name = GetEntryFunctionName(op); const auto module_op = op->getParentOfType<ModuleOp>(); const SymbolTable symbol_table(module_op); func::FuncOp func = symbol_table.lookup<func::FuncOp>(function_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.h
// number of input operands could vary. This function gets the min/max number of // operands from tflite op name. llvm::MinMax OperandNumbersMinMax(llvm::StringRef op_name); // Populates the `custom_code` and `custom_options` to attributes. // `custom_code` is used to identify CustomOp. // `custom_options` are opaque attribute used to store infomations for this // custom op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 21:00:09 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
dot.getPrecisionConfigAttr()); return success(); } class OptimizePass : public PassWrapper<OptimizePass, OperationPass<func::FuncOp>> { public: StringRef getArgument() const final { return "mhlo-optimize"; } StringRef getDescription() const final { return "Applies various optimizations on MHLO IR"; } void runOnOperation() override { RewritePatternSet patterns(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
#include <vector> #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/Dialect/Quant/QuantOps.h" // from @llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0)