- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for input_list (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
mlir::tf_device::ClusterFuncOp cluster_func, mlir::OpBuilder* builder, llvm::SmallVectorImpl<llvm::SmallVector<mlir::Value, 4>>* input_list) { // Initialize the input list for each logical devices. input_list->reserve(num_cores_per_replica); for (int i = 0; i < num_cores_per_replica; ++i) input_list->emplace_back(llvm::SmallVector<mlir::Value, 4>()); llvm::SmallVector<mlir::Value, 4> cluster_func_inputs(
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/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// i-th logical core. llvm::SmallVector<llvm::SmallVector<mlir::Value, 4>, 4> input_list; builder->setInsertionPoint(*new_parallel_execute); auto result = tensorflow::ExtractInputsForLogicalDevices( num_cores_per_replica, cluster_func, builder, &input_list); if (failed(result)) return failure(); const bool replicated = tpu_devices.size() != 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
template <typename BatchMatMulOpType> LogicalResult ConvertTFBatchMatMulOp<BatchMatMulOpType>::matchAndRewrite( BatchMatMulOpType op, PatternRewriter& rewriter) const { Value input_lhs = op.getX(); Value input_rhs = op.getY(); if (!mlir::isa<RankedTensorType>(input_lhs.getType())) { // LHS must be a ranked tensor type return failure(); } if (!mlir::isa<RankedTensorType>(input_rhs.getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
if (auto input_result = mlir::dyn_cast<mlir::OpResult>(src)) { auto* input_inst = GetIslandInnerOpOrSelf(input_result.getOwner()); // Replaces the input node with NextIteration sink if it is a NextIteration // source. if (auto next_iter_source = llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>( input_inst)) input_inst = next_iter_source.GetSink();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
if (auto input_result = mlir::dyn_cast<mlir::OpResult>(src)) { auto* input_inst = GetIslandInnerOpOrSelf(input_result.getOwner()); // Replaces the input node with NextIteration sink if it is a NextIteration // source. if (auto next_iter_source = llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>( input_inst)) input_inst = next_iter_source.GetSink();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
}; if (!can_convert_to_fully_connected(op)) { return false; } Value input_lhs = get_real_input_value(op.getX()); Value input_rhs = get_real_input_value(op.getY()); Value legalized_lhs = op.getAdjX() ? create_z_x_transpose_op(input_lhs) : input_lhs; // The rhs need to be transposed if adj_y == false AND this matmul will be // legalized to tfl.fully_connected
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0)