Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for signalPassFailure (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

          if (CanMove(op)) {
            tpu_copy_with_dynamic_shape_ops.push_back(op);
          }
        }
        return WalkResult::advance();
      });
      if (walk_result.wasInterrupted()) return signalPassFailure();
    
      for (Operation* op : tpu_copy_with_dynamic_shape_ops) {
        OpBuilder builder(op);
    
        auto old_launch_op = llvm::dyn_cast<tf_device::LaunchOp>(op->getParentOp());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

        return "Renames the entrypoint in SavedModel to `main`";
      }
    
      void runOnOperation() override {
        auto fail = [&](Operation* op, std::string message) {
          op->emitError(message);
          signalPassFailure();
        };
    
        DenseMap<StringRef, func::FuncOp> entrypoints;
        auto module = getOperation();
        module.walk([&](func::FuncOp op) {
          auto visibility = SymbolTable::getSymbolVisibility(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass.cc

          LOG(ERROR) << outside_compilation_error;
          return WalkResult::interrupt();
        }
    
        return WalkResult::advance();
      });
    
      if (walk_result.wasInterrupted()) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<mlir::OperationPass<func::FuncOp>>
    CreateVerifyNoOutsideCompilationMarkersPass() {
      return std::make_unique<VerifyNoOutsideCompilationMarkersPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 19:52:08 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc

        if (failed(LiftIslandOpInnerOpsFromGraph(graph)))
          return WalkResult::interrupt();
    
        return WalkResult::advance();
      });
      if (result.wasInterrupted()) signalPassFailure();
    }
    }  // end anonymous namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateExecutorDialectToFunctionalConversionPass() {
      return std::make_unique<ExecutorDialectToFunctionalConversion>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_to_legacy_compile_and_replicate_attributes.cc

      return failure(result.wasInterrupted());
    }
    
    void ConvertToLegacyCompileAndReplicateAttributesPass::runOnOperation() {
      func::FuncOp func_op = getOperation();
      if (failed(ConvertToLegacyAttributes(func_op))) return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateConvertToLegacyCompileAndReplicateAttributesPass() {
      return std::make_unique<ConvertToLegacyCompileAndReplicateAttributesPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass.cc

          op->emitError() << error;
          return mlir::WalkResult::interrupt();
        }
    
        return WalkResult::advance();
      });
    
      if (walk_result.wasInterrupted()) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateVerifyClusteringPass() {
      return std::make_unique<VerifyClusteringPass>();
    }
    }  // namespace internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 20:33:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

      }
    
      ModuleOp module_op = getOperation();
      if (const absl::Status pm_run_status =
              RunPassesOnModuleOp(mlir_dump_file_name_, pm, module_op);
          !pm_run_status.ok()) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

          if (failed(*status) || !op->use_empty()) return WalkResult::interrupt();
    
          op->erase();
        }
    
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) {
        signalPassFailure();
        return;
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateTPUPartitionedOpConversionPass() {
      return std::make_unique<TPUPartitionedOpConversionPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

          return WalkResult::interrupt();
        }
        called_func.erase();
        call_op.erase();
        return WalkResult::advance();
      });
      if (walk_result.wasInterrupted()) return signalPassFailure();
      // Move all remaining nested functions back into the parent module.
      Block &nested_block = nested_module->getRegion(0).front();
      for (func::FuncOp func_op :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

        target.addLegalDialect<mlir::stablehlo::StablehloDialect>();
        if (failed(applyPartialConversion(getOperation(), target,
                                          std::move(patterns)))) {
          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() {
      return std::make_unique<SmuggleDisallowedOpsPass>();
    }
    
    static PassRegistration<SmuggleDisallowedOpsPass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top