- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 168 for getIPs (0.14 sec)
-
tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc
// if no trim_funcs_allowlist_ is specified, this pass is a no-op. if (trim_funcs_allowlist_.empty()) return false; llvm::SmallVector<func::FuncOp, 4> funcs_to_trim; for (auto func : getOperation().getOps<func::FuncOp>()) { if (llvm::is_contained(trim_funcs_allowlist_, func.getName())) { // If no main is specified in the allowlist, use the 1st func // in trim_funcs_allowlist as the main.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc
temp_file.os().flush(); // Replace filename constant ops to use the temporary file. MLIRContext* context = &getContext(); for (func::FuncOp func : module.getOps<func::FuncOp>()) { llvm::SmallVector<arith::ConstantOp, 4> constant_ops( func.getOps<arith::ConstantOp>()); for (auto op : constant_ops) { ShapedType shaped_type = RankedTensorType::get({1}, StringType::get(context));
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/tensorflow/transforms/freeze_global_tensors.cc
TF::LoadResourceDataflowAnalysis(solver); if (failed(solver.initializeAndRun(module))) return signalPassFailure(); DenseSet<GlobalTensorOp> remaining_global_tensor_ops; { auto ops = module.getOps<GlobalTensorOp>(); remaining_global_tensor_ops.insert(ops.begin(), ops.end()); } for (auto global_tensor : remaining_global_tensor_ops) { // This pass assumes that all global tensors as immutable (e.g. by a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
} static LogicalResult convertTFGlobals(ModuleOp module) { OpBuilder globalBuilder(module.getBodyRegion()); DenseMap<Operation *, std::string> opToName; for (auto globalTensor : module.getOps<tf_saved_model::GlobalTensorOp>()) { auto exportedNames = tf_saved_model::GetExportedNames(globalTensor); std::string name; if (exportedNames.empty()) { name = "global_ml_" + globalTensor.getSymName().str();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/test_tensor_array_side_effect_analysis.cc
} void runOnOperation() override { auto module = getOperation(); TensorArraySideEffectAnalysis tensor_array_side_effect_analysis(module); for (auto func_op : module.getOps<mlir::func::FuncOp>()) { func_op.emitRemark() << "HasAtMostTensorArrayEffect: " << tensor_array_side_effect_analysis .HasAtMostTensorArrayEffect(func_op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 10 21:32:05 UTC 2022 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
} @Test public void resolveDC () throws CIFSException { CIFSContext context = withAnonymousCredentials(); DfsResolver dfs = context.getDfs(); try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) { Address addr = dc.getRemoteAddress(); String remoteHostName = dc.getRemoteHostName(); assertNotNull(addr);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
return failure(); } // Fetch all VarHandleOp. llvm::StringSet<> variable_names; llvm::SmallVector<TF::VarHandleOp, 4> var_ops; for (auto func_op : module.getOps<func::FuncOp>()) { for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) { auto variable_name = GetVariableName(var_handle_op); if (variable_names.count(variable_name)) continue; var_ops.emplace_back(var_handle_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc
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"); } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass() {
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/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
mlir::cast<FlatSymbolRefAttr>(initializer).getValue()); RewriteFunction(symbol_table, func); } // Clean up unused asset ops. for (auto asset : llvm::make_early_inc_range(module.getOps<AssetOp>())) { if (symbol_table.symbolKnownUseEmpty(asset, module)) { asset.erase(); } } } private: // Replaces bounded-input arguments of the function with constant ops in the
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/tf2xla/internal/inference/inference_metrics_pass.cc
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( [&](TF::TPUPartitionedCallOp op) { has_tpu_partitioned_call = true; }); if (has_tpu_partitioned_call) break; } std::string has_tpu_partitioned_call_str =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 05 21:24:51 UTC 2023 - 2.3K bytes - Viewed (0)