- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GatherElements (0.42 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
first_index = last_index; continue; } if (last_index + 1 != ind.getSExtValue()) return -1; last_index++; } return first_index; } } // namespace Value GatherElements(Value indices, Value buffer, OpBuilder builder, Location loc) { auto buffer_type = mlir::cast<RankedTensorType>(buffer.getType()); auto result_shape = llvm::to_vector<8>(buffer_type.getShape());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
auto it = buffer_to_size.find(gather.getInputHandle()); if (it == buffer_to_size.end()) { return gather.emitOpError("unknown tensor list"); } auto buffer = gather.getInputHandle(); auto result = cutil::GatherElements(gather.getIndices(), buffer, OpBuilder(gather), gather.getLoc()); gather.getValues().replaceAllUsesWith(result); gather.erase(); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc
return gather.emitOpError("unknown tensor array"); } OpBuilder builder(gather); auto buffer = cutil::ReadLocalVariable(local_var, builder, gather.getLoc()); auto result = cutil::GatherElements(gather.getIndices(), buffer, builder, gather.getLoc()); ReplaceAllUsesExceptTerminator(gather.getValue(), result); ReplaceAllUsesWithCast(gather.getValue(), result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 40.2K bytes - Viewed (0)