- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 293 for runOnOperation (0.14 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
"prepare lifting."; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect, arith::ArithDialect>(); } void runOnOperation() override; private: Option<OpSet> op_set_{ *this, "target-opset", llvm::cl::init(OpSet::TF), llvm::cl::desc("Choose target opset."), llvm::cl::values( clEnumValN(OpSet::TF, "TF",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
const char kICIWeightDistributionMlirBridgeMarker[] = "ici_weight_distribution_mlir_bridge_marker"; struct XlaBroadcast : public impl::XlaBroadcastPassBase<XlaBroadcast> { void runOnOperation() override; }; // Returns true iff the broadcast val can be substituted with an XlaAllReduce. // Sets `zero` and `shape` as params for the dummy zeros that will be created.
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/transforms/decompose_reduce_dataset.cc
: public impl::DecomposeReduceDatasetPassBase<DecomposeReduceDatasetPass> { void getDependentDialects(DialectRegistry& registry) const override { registry.insert<tf_device::TensorFlowDeviceDialect>(); } void runOnOperation() override; }; // Create the AnonymousIterator for `reduce_dataset` with `dataset_types` using // `builder`. AnonymousIteratorV3Op CreateIterator(OpBuilder builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
"module"; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } void runOnOperation() override; private: QuantizationOptions quant_options_; bool test_mode_; Option<OpSet> op_set_{ *this, "target-opset", llvm::cl::init(OpSet::TF), llvm::cl::desc("Choose target opset."),
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/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
#include "tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.h.inc" class LegalizeTFCollective : public impl::LegalizeTFCollectiveBase<LegalizeTFCollective> { public: void runOnOperation() override; }; LogicalResult SetOnceModuleAttribute(StringRef attr_name, IntegerAttr attr_value, Operation* op, ModuleOp& module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
} struct DenseToSparsePass : public impl::DenseToSparsePassBase<DenseToSparsePass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DenseToSparsePass) void runOnOperation() override; }; void DenseToSparsePass::runOnOperation() { func::FuncOp func = getOperation(); OpBuilder builder(func); func.walk([&](SparseOpInterface sparse_op) { const auto& sparse_operands = sparse_op.GetSparseOperands();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
"output will be merged into the main function's `FetchOp`. The " "initializer functions will be removed after this pass."; } void runOnOperation() override; private: void getDependentDialects(DialectRegistry& registry) const override { registry .insert<TF::TensorFlowDialect, tf_executor::TensorFlowExecutorDialect,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc
"determine the shape of a tensor. For example, the second argument " "'dim' to TF::ExpandDimsOp specifies the dimension index to expand."; } void runOnOperation() override; }; // Returns True iff the otuput value of `op` is either a compile time constant // or bounded from the XLA compiler's perspective, even if it is not a // `ConstOp`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
public: AssetSinkingPass() = default; explicit AssetSinkingPass(llvm::StringRef saved_model_dir) { saved_model_dir_ = saved_model_dir.str(); } void runOnOperation() override { ModuleOp module = getOperation(); if (!HasTfSavedModelSemantics(module)) { return; } auto init_op = GetSessionInitializerOp(module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
// implementations to decrease the number of operations needed to perform a // computation. struct FusedKernelMatcherPass : public impl::FusedKernelMatcherPassBase<FusedKernelMatcherPass> { void runOnOperation() override; }; bool IsActivationFunction(Operation *op) { return isa<EluOp, ReluOp, Relu6Op>(op); } // Finds and returns an activation op that uses the result of `op`. If there are
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0)