- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 293 for runOnOperation (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/drop_while_shape_invariant.cc
void runOnOperation() override; }; #define GEN_PASS_DEF_DROPWHILESHAPEINVARIANTINDEVICECLUSTERPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" class DropWhileShapeInvariantInDeviceClusterPass : public impl::DropWhileShapeInvariantInDeviceClusterPassBase< DropWhileShapeInvariantInDeviceClusterPass> { void runOnOperation() override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc
} StringRef getDescription() const final { return "generate a temporary file and invoke InitTextFileToImportPass"; } private: void runOnOperation() override; }; void InitTextFileToImportTestPass::runOnOperation() { ModuleOp module = getOperation(); // Create a temporary vocab file. int fd; SmallString<256> filename; std::error_code error_code =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.cc
struct IdentifyDilatedConvPass : public impl::IdentifyDilatedConvPassBase<IdentifyDilatedConvPass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(IdentifyDilatedConvPass) void runOnOperation() override; }; void IdentifyDilatedConvPass::runOnOperation() { RewritePatternSet patterns(&getContext()); auto func = getOperation(); patterns.add<ConvertTFDilatedConvOp<TF::Conv2DOp>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/unfuse_mhlo_batch_norm.cc
public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnfuseMhloBatchNormPass) explicit UnfuseMhloBatchNormPass() = default; private: void runOnOperation() override; }; void UnfuseMhloBatchNormPass::runOnOperation() { MLIRContext* ctx = &getContext(); RewritePatternSet patterns(ctx); mhlo::populateUnfuseBatchNormPatterns(ctx, &patterns); if (failed(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 06:28:12 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.cc
public: OptimizeIntGraph() = default; OptimizeIntGraph(const OptimizeIntGraph &) = default; void runOnOperation() override; }; #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.inc" void OptimizeIntGraph::runOnOperation() { RewritePatternSet patterns(&getContext()); populateWithGenerated(patterns); auto func = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 24 02:26:47 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass.cc
class InferenceMetricsPass : public impl::InferenceMetricsPassBase<InferenceMetricsPass> { public: void runOnOperation() override; }; void InferenceMetricsPass::runOnOperation() { bool has_tpu_partitioned_call = false; ModuleOp module = getOperation(); for (auto func_op : module.getOps<func::FuncOp>()) { func_op->walk(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 05 21:24:51 UTC 2023 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.cc
public: using impl::RemoveShardingCustomCallPassBase< RemoveShardingCustomCallPass>::RemoveShardingCustomCallPassBase; private: void runOnOperation() override; }; void RemoveShardingCustomCallPass::runOnOperation() { func::FuncOp func_op = getOperation(); MLIRContext& ctx = getContext(); RewritePatternSet patterns(&ctx); populateWithGenerated(patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/print.cc
PrintPass(const PrintPass& other); void runOnOperation() override; private: llvm::sys::SmartMutex<true> mutex_; raw_ostream* os_; }; PrintPass::PrintPass(raw_ostream* os) { if (os) { os_ = os; } else { os_ = &llvm::errs(); } } PrintPass::PrintPass(const PrintPass& other) : PrintPass(other.os_) {} void PrintPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 23:15:17 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc
struct StripNoinlineAttributePass : public impl::StripNoinlineAttributePassBase<StripNoinlineAttributePass> { public: // void runOnOperation() override; void runOnOperation() override { // Strip the "tf._noinline" attribute from top-level functions. for (auto func_op : getOperation().getOps<func::FuncOp>()) func_op->removeAttr("tf._noinline"); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/get_arithmetic_count.cc
struct GetArithmeticCountPass : public impl::GetArithmeticCountPassBase<GetArithmeticCountPass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GetArithmeticCountPass) void runOnOperation() override; }; void GetArithmeticCountPass::runOnOperation() { auto func = getOperation(); OpBuilder builder(func); func->walk([&](TflArithmeticCountOpInterface arithmetic_count_op) { Operation* op = arithmetic_count_op.getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 2.5K bytes - Viewed (0)