Home
last modified time | relevance | path

Searched refs:tile_shape (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/
Dsharding_builder.cc41 OpSharding Tile(const Shape& tile_shape, in Tile() argument
45 *result.mutable_tile_shape() = tile_shape.ToProto(); in Tile()
55 OpSharding Tile1D(const Shape& tile_shape, int64 num_tiles) { in Tile1D() argument
59 CHECK_EQ(tile_shape.rank(), 1); in Tile1D()
61 *result.mutable_tile_shape() = tile_shape.ToProto(); in Tile1D()
Dsharding_builder.h48 OpSharding Tile(const Shape& tile_shape, const TileAssignment& tile_assignment);
54 OpSharding Tile1D(const Shape& tile_shape, int64 num_tiles);
/external/tensorflow/tensorflow/compiler/xla/experimental/xla_sharding/
Dxla_sharding.py436 tile_shape = [
441 tile_shape.append(_np.prod(device_mesh.shape) // _np.prod(tile_shape))
442 tile_assignment = _np.reshape(tile_assignment, tile_shape)
/external/tensorflow/tensorflow/compiler/xla/
Dxla_data.proto638 // None of the above; tile_shape and tile_assignment are both used.
646 ShapeProto tile_shape = 2; field
648 // tile_shape and the product of its dimensions must equal
/external/tensorflow/tensorflow/compiler/xla/service/
Dsharding_propagation.cc1187 const int64 tile_shape = CeilOfRatio(user.shape().dimensions(cdim), in GetShardingFromUser() local
1191 start_indices[cdim] = start_offset / tile_shape; in GetShardingFromUser()
1193 start_offset + instruction.shape().dimensions(cdim), tile_shape); in GetShardingFromUser()
Dhlo_sharding_util.cc314 const Shape tile_shape = sharding.TileShape(source_shape); in ReshapeSharding() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtpu_rewrite.mlir1893 // tile_shape {
2000 // tile_shape {
2084 // tile_shape {
2168 // tile_shape {
2253 // tile_shape {
/external/tensorflow/tensorflow/python/ops/
Darray_ops.py5427 tile_shape = concat(((1,), indices_internal_shape, (1,)), axis=0)
5428 index_grid = tile(index_grid, multiples=tile_shape)
/external/tensorflow/tensorflow/python/keras/
Dbackend.py4697 tile_shape = array_ops.where_v2(shape_diff > 0, expr_shape,
4699 condition = array_ops.tile(condition, tile_shape)