Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 175 for signalPassFailure (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

                  execute_launch, resource_analysis_info,
                  /*check_device=*/!parent_is_replicate,
                  /*check_same_region=*/parent_is_replicate, &builder))) {
            signalPassFailure();
            return;
          }
        }
      });
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTPUMergeVariablesWithExecutePass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      auto module = getOperation();
      auto main = module.lookupSymbol<func::FuncOp>("main");
      if (!main) return;
      if (failed(DecomposeStackOps(&main.front(), module))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TF {
    std::unique_ptr<OperationPass<ModuleOp>> CreateStackOpsDecompositionPass() {
      return std::make_unique<StackOpsDecompositionPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

      auto result = module.walk([&](tf_device::ClusterOp cluster) {
        OptimizeIfRegions(&cluster.GetBody(), module);
        return WalkResult::advance();
      });
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateMergeControlFlowPass() {
      return std::make_unique<MergeControlFlowPass>();
    }
    
    }  // namespace TFDevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        patterns.add(MergeConsecutivePad);
        if (failed(applyPatternsAndFoldGreedily(getOperation(),
                                                std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createOptimizePass() {
      return std::make_unique<OptimizePass>();
    }
    
    static PassRegistration<OptimizePass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      });
    
      RewritePatternSet patterns(ctx);
      PopulateLegalizeTfQuantizationPatterns(ctx, &patterns);
      if (failed(applyPartialConversion(func, target, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    void PopulateLegalizeTfQuantizationPatterns(MLIRContext *context,
                                                RewritePatternSet *patterns) {
      patterns
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

              return WalkResult::interrupt();
            }
            return WalkResult::advance();
          });
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<mlir::OperationPass<ModuleOp>>
    CreateTPUShardingIdentificationPass() {
      return std::make_unique<TPUShardingIdentificationPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

              return WalkResult::interrupt();
            }
          }
          return WalkResult::advance();
        });
    
        if (result.wasInterrupted()) return signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTFRegionControlFlowToFunctional() {
      return std::make_unique<RegionControlFlowToFunctional>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      auto module = getOperation();
      auto main = module.lookupSymbol<func::FuncOp>("main");
      if (!main) return;
      if (failed(DecomposeTensorListOps(&main.front(), module))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TF {
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTensorListOpsDecompositionPass() {
      return std::make_unique<TensorListOpsDecompositionPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        if (!func.isExternal() &&
            failed(FormClustersInFunction(
                func, side_effect_analysis.GetAnalysisForFunc(func),
                strict_clusters_)))
          return signalPassFailure();
    }
    }  // anonymous namespace
    
    std::unique_ptr<mlir::OperationPass<ModuleOp>> CreateTPUClusterFormationPass(
        bool strict_clusters) {
      return std::make_unique<TPUClusterFormationPass>(strict_clusters);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

          decomposed_partitioned_call_callees;
      if (failed(DecomposeTensorArrayOps(&main.front(), module, &stats,
                                         &decomposed_partitioned_call_callees))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TF {
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTensorArrayOpsDecompositionPass() {
      return std::make_unique<TensorArrayOpsDecompositionPass>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
Back to top