- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GatherElements (0.27 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)