- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for getFlow (0.75 sec)
-
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
TypeRange result_types{ValueRange{results}}; auto func_type = FunctionType::get(context, arg_types, result_types); SmallVector<Location> arg_locs; for (Value arg : arguments) { arg_locs.push_back(arg.getLoc()); } auto wrap_func = builder.create<func::FuncOp>(location, func_name, func_type); wrap_func.setVisibility(SymbolTable::Visibility::Private);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc
}; // Insert custom aggregation op between operand and operator. rewriter.setInsertionPointAfterValue(value); Operation *aggregator_op = rewriter.create<TF::CustomAggregatorOp>( op->getLoc(), output_types, value, attributes); Value aggregator_op_result = aggregator_op->getOpResult(0); value.replaceAllUsesExcept(aggregator_op_result, aggregator_op); } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
return !wrapped_ops.count(user.getOwner()); })) result_types.push_back(result.getType()); } } IslandOp new_island = OpBuilder(island).create<IslandOp>( island.getLoc(), result_types, /*control=*/ControlType::get(island.getContext()), /*controlInputs=*/island.getOperands()); new_island.getBody().push_back(new Block);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_test.go
t.Errorf("fail to create path: %s", volPath) } } // Stat the directory and check the permission bits testSetUp(mounter, metadataDir, volPath) log := physicalMounter.GetLog() // Check the number of mounts performed during setup if e, a := config.expectedSetupMounts, len(log); e != a { t.Errorf("Expected %v physicalMounter calls during setup, got %v", e, a)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 30.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
} } continue; } if (IsSplitSharding(sharding)) { llvm::SmallVector<mlir::Value, 4> tiled_inputs; auto result = HandleTileShardedInputs( cluster_func.getLoc(), sharding, input_value, builder, &tiled_inputs); if (mlir::failed(result)) return mlir::failure(); const int64_t tiled_inputs_size = tiled_inputs.size(); if (tiled_inputs_size != num_cores_per_replica)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
value.getType())); builder.setInsertionPointAfter(cst.getOperation()); auto new_op = builder.create<tfl::QConstOp>( cst.getLoc(), new_output_type, mlir::TypeAttr::get(new_output_type), cst.getValueAttr()); full_range_const = new_op.getOutput(); } use.set(full_range_const); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
maven-core/pom.xml
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 15.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
if (auto attr = inst->getAttrOfType<mlir::StringAttr>("device")) { node_def->set_device(std::string(attr.getValue())); } // Add the node debug info. TF_RETURN_IF_ERROR(ConvertLocation( inst->getLoc(), name, node_def->mutable_experimental_debug_info())); return node_def; } Status ConvertAttributes( const llvm::ArrayRef<mlir::NamedAttribute> attrs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
tl_element_shape.replaceAllUsesWith(initial_element_shape); } else { OpBuilder b(use.getOwner()); Operation* cast_op = InsertCast( b, use.getOwner()->getLoc(), tl_element_shape.getResult().getType(), initial_element_shape); if (!cast_op) return false; tl_element_shape.replaceAllUsesWith(cast_op->getResult(0)); } continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
std::string graph_name = op_name + std::to_string(subgraph_index); auto subgraph = BuildSubGraph(graph_name, region, subgraph_index); if (!subgraph.has_value()) { mlir::emitError(region->getLoc(), "failed to build subgraph"); return -1; } subgraphs_.push_back(subgraph.value()); subgraph_index_map_[graph_name] = subgraph_index; return subgraph_index; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)