Home
last modified time | relevance | path

Searched refs:Tile (Results 1 – 25 of 151) sorted by relevance

1234567

/external/tensorflow/tensorflow/compiler/xla/
Dlayout_test.cc38 EXPECT_EQ(Layout({3, 2, 1, 0}, {Tile({42, 123}), Tile({4, 5})}).ToString(), in TEST_F()
41 Layout({1, 0}, {Tile({2, 55})}).set_element_size_in_bits(42).ToString(), in TEST_F()
43 EXPECT_EQ(Layout({3, 2, 1, 0}, {Tile({42, 123}), Tile({4, 5})}) in TEST_F()
48 Layout({1, 0}, {Tile({-2, 55})}).set_element_size_in_bits(42).ToString(), in TEST_F()
55 oss << Tile({7, 8}); in TEST_F()
73 EXPECT_EQ(Layout({0, 1, 2}, {Tile({42, 44})}), in TEST_F()
74 Layout({0, 1, 2}, {Tile({42, 44})})); in TEST_F()
75 EXPECT_NE(Layout({0, 1, 2}, {Tile({42, 44})}), in TEST_F()
76 Layout({0, 1, 2}, {Tile({42, 45})})); in TEST_F()
77 EXPECT_NE(Layout({0, 1, 2}, {Tile({42, 44})}), Layout({0, 1, 2, 3})); in TEST_F()
[all …]
Dlayout.h33 class Tile {
35 Tile() = default;
36 explicit Tile(absl::Span<const int64> dimensions) in Tile() function
40 static Tile CreateFromProto(const TileProto& tile_proto) { in CreateFromProto()
41 return Tile(AsInt64Slice(tile_proto.dimensions())); in CreateFromProto()
45 bool operator==(const Tile& other) const {
48 bool operator!=(const Tile& other) const { return !(*this == other); }
58 Tile& add_dimensions(int64 value) { in add_dimensions()
63 Tile& clear_dimensions() { in clear_dimensions()
73 friend H AbslHashValue(H h, const Tile& t) { in AbslHashValue()
[all …]
Dlayout.cc24 TileProto Tile::ToProto() const { in ToProto()
32 string Tile::ToString() const { in ToString()
56 *layout.add_tiles() = Tile::CreateFromProto(tile_proto); in CreateFromProto()
70 for (const Tile& tile : tiles()) { in ToProto()
81 for (const Tile& tile : tiles()) { in ToString()
122 std::ostream& operator<<(std::ostream& out, const Tile& tile) { in operator <<()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util_test.cc30 HloSharding input = HloSharding::Tile(Array4D<int64>({{{{0, 1}}, {{2, 3}}}})); in TEST()
32 HloSharding::Tile(Array4D<int64>({{{{0}, {2}}}, {{{1}, {3}}}})); in TEST()
49 HloSharding sharding = HloSharding::Tile(Array3D<int64>({{{0}, {1}}})); in TEST()
59 HloSharding::Tile(Array3D<int64>({{{0}}, {{1}}})); in TEST()
60 HloSharding output_sharding = HloSharding::Tile(Array2D<int64>({{0}, {1}})); in TEST()
70 HloSharding input_sharding = HloSharding::Tile(Array2D<int64>({{0}, {1}})); in TEST()
72 HloSharding::Tile(Array3D<int64>({{{0}}, {{1}}})); in TEST()
84 HloSharding input_sharding = HloSharding::Tile(tile); in TEST()
86 HloSharding output_sharding = HloSharding::Tile(tile); in TEST()
97 HloSharding::Tile(Array3D<int64>({{{0}}, {{1}}})); in TEST()
[all …]
Dhlo_sharding_test.cc113 TEST_F(HloShardingTest, Tile) { in TEST_F() argument
116 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 0, 2, 3})); in TEST_F()
123 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 1, 2, 3})); in TEST_F()
131 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
168 HloSharding tiled_sharding = HloSharding::Tile(Array<int64>({{0, 1}})); in TEST_F()
219 HloSharding sharding1 = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
220 HloSharding sharding2 = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
326 HloSharding::Tile(Array3D<int64>({{{2, 3}}, {{5, 7}}})); in TEST_F()
334 HloSharding sharding = HloSharding::Tile(Array3D<int64>({{{2, 3}}, {{5, 7}}}), in TEST_P()
357 {HloSharding::Replicate(), HloSharding::Tile(Array2D<int64>({{3, 5}})), in TEST_F()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTileService.java4 import android.service.quicksettings.Tile;
13 private Tile tile;
16 protected final Tile getQsTile() { in getQsTile()
23 private static Tile createTile() { in createTile()
24 return Shadow.newInstanceOf(Tile.class); in createTile()
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc133 int GetUseCompoundReferenceContext(const Tile::Block& block) { in GetUseCompoundReferenceContext()
169 int GetReferenceContext(const Tile::Block& block, in GetReferenceContext()
187 bool Tile::ReadSegmentId(const Block& block) { in ReadSegmentId()
243 bool Tile::ReadIntraSegmentId(const Block& block) { in ReadIntraSegmentId()
252 void Tile::ReadSkip(const Block& block) { in ReadSkip()
271 void Tile::ReadSkipMode(const Block& block) { in ReadSkipMode()
294 void Tile::ReadCdef(const Block& block) { in ReadCdef()
320 int Tile::ReadAndClipDelta(uint16_t* const cdf, int delta_small, int scale, in ReadAndClipDelta()
340 void Tile::ReadQuantizerIndexDelta(const Block& block) { in ReadQuantizerIndexDelta()
352 void Tile::ReadLoopFilterDelta(const Block& block) { in ReadLoopFilterDelta()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dtile_ops.cc48 struct Tile { struct
83 extern template struct Tile<GPUDevice, bool, int32>;
84 extern template struct Tile<GPUDevice, bool, int64>;
85 extern template struct Tile<GPUDevice, float, int32>;
86 extern template struct Tile<GPUDevice, float, int64>;
87 extern template struct Tile<GPUDevice, double, int32>;
88 extern template struct Tile<GPUDevice, double, int64>;
89 extern template struct Tile<GPUDevice, complex64, int32>;
90 extern template struct Tile<GPUDevice, complex64, int64>;
91 extern template struct Tile<GPUDevice, complex128, int32>;
[all …]
Dtile_functor_cpu_double.cc25 template struct Tile<CPUDevice, double, int32>; variable
26 template struct Tile<CPUDevice, double, int64>; variable
Dtile_functor_cpu_float.cc25 template struct Tile<CPUDevice, float, int32>; variable
26 template struct Tile<CPUDevice, float, int64>; variable
Dtile_functor_cpu_bool.cc25 template struct Tile<CPUDevice, bool, int32>; variable
26 template struct Tile<CPUDevice, bool, int64>; variable
Dtile_functor_gpu_bool.cu.cc26 template struct Tile<GpuDevice, bool, int32>; variable
27 template struct Tile<GpuDevice, bool, int64>; variable
Dtile_functor_gpu_double.cu.cc26 template struct Tile<GpuDevice, double, int32>; variable
27 template struct Tile<GpuDevice, double, int64>; variable
Dtile_functor_gpu_float.cu.cc26 template struct Tile<GpuDevice, float, int32>; variable
27 template struct Tile<GpuDevice, float, int64>; variable
Dtile_functor_cpu_complex128.cc25 template struct Tile<CPUDevice, complex128, int32>; variable
26 template struct Tile<CPUDevice, complex128, int64>; variable
Dtile_functor_cpu_int32.cc25 template struct Tile<CPUDevice, int32, int32>; variable
26 template struct Tile<CPUDevice, int32, int64>; variable
Dtile_functor_cpu_tstring.cc25 template struct Tile<CPUDevice, tstring, int32>; variable
26 template struct Tile<CPUDevice, tstring, int64>; variable
Dtile_functor_cpu_variant.cc26 template struct Tile<CPUDevice, Variant, int32>; variable
27 template struct Tile<CPUDevice, Variant, int64>; variable
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_tile.cc73 inline void Tile(const Array& input_array, const Array& multiples_array, in Tile() function
140 Tile<ArrayDataType::kFloat>(input_array, multiples_array, &output_array); in Run()
143 Tile<ArrayDataType::kUint8>(input_array, multiples_array, &output_array); in Run()
146 Tile<ArrayDataType::kInt16>(input_array, multiples_array, &output_array); in Run()
149 Tile<ArrayDataType::kInt32>(input_array, multiples_array, &output_array); in Run()
152 Tile<ArrayDataType::kInt64>(input_array, multiples_array, &output_array); in Run()
155 Tile<ArrayDataType::kComplex64>(input_array, multiples_array, in Run()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTileTest.java6 import android.service.quicksettings.Tile;
19 private Tile tile;
24 tile = Shadow.newInstanceOf(Tile.class); in setUp()
/external/libgav1/libgav1/src/
Dtile.h68 class Tile : public Allocable {
70 static std::unique_ptr<Tile> Create( in Create()
82 std::unique_ptr<Tile> tile(new (std::nothrow) Tile( in Create()
92 Tile(Tile&& tile) noexcept;
93 Tile& operator=(Tile&& tile) noexcept;
94 Tile(const Tile&) = delete;
95 Tile& operator=(const Tile&) = delete;
241 Tile(int tile_number, const uint8_t* data, size_t size,
751 struct Tile::Block {
752 Block(const Tile& tile, BlockSize size, int row4x4, int column4x4, in Block()
[all …]
Dmotion_vector.cc60 void SetupGlobalMv(const Tile::Block& block, int index, in SetupGlobalMv()
107 void SearchStack(const Tile::Block& block, const BlockParameters& mv_bp, in SearchStack()
143 void CompoundSearchStack(const Tile::Block& block, const BlockParameters& mv_bp, in CompoundSearchStack()
181 void AddReferenceMvCandidate(const Tile::Block& block, in AddReferenceMvCandidate()
211 void ScanRow(const Tile::Block& block, int mv_column, int delta_row, in ScanRow()
215 const Tile& tile = block.tile; in ScanRow()
235 void ScanColumn(const Tile::Block& block, int mv_row, int delta_column, in ScanColumn()
239 const Tile& tile = block.tile; in ScanColumn()
260 void ScanPoint(const Tile::Block& block, int delta_row, int delta_column, in ScanPoint()
265 const Tile& tile = block.tile; in ScanPoint()
[all …]
/external/libgav1/libgav1/src/tile/
Dtile.cc310 void SetTransformType(const Tile::Block& block, int x4, int y4, int w4, int h4, in SetTransformType()
364 void GetClampParameters(const Tile::Block& block, int min[2], int max[2]) { in GetClampParameters()
416 Tile::Tile(int tile_number, const uint8_t* const data, size_t size, in Tile() function in libgav1::Tile
557 bool Tile::Init() { in Init()
605 bool Tile::ProcessSuperBlockRow(int row4x4, in ProcessSuperBlockRow()
631 template bool Tile::ProcessSuperBlockRow<kProcessingModeDecodeOnly, false>(
634 template bool Tile::ProcessSuperBlockRow<kProcessingModeParseAndDecode, true>(
637 void Tile::SaveSymbolDecoderContext() { in SaveSymbolDecoderContext()
644 bool Tile::ParseAndDecode() { in ParseAndDecode()
671 bool Tile::Parse() { in Parse()
[all …]
Dprediction.cc225 void Tile::IntraPrediction(const Block& block, Plane plane, int x, int y, in IntraPrediction()
374 template void Tile::IntraPrediction<uint8_t>(const Block& block, Plane plane,
381 template void Tile::IntraPrediction<uint16_t>(const Block& block, Plane plane,
393 bool Tile::IsSmoothPrediction(int row, int column, Plane plane) const { in IsSmoothPrediction()
405 int Tile::GetIntraEdgeFilterType(const Block& block, Plane plane) const { in GetIntraEdgeFilterType()
422 void Tile::DirectionalPrediction(const Block& block, Plane plane, int x, int y, in DirectionalPrediction()
508 void Tile::PalettePrediction(const Block& block, const Plane plane, in PalettePrediction()
531 template void Tile::PalettePrediction<uint8_t>(
535 template void Tile::PalettePrediction<uint16_t>(
541 void Tile::ChromaFromLumaPrediction(const Block& block, const Plane plane, in ChromaFromLumaPrediction()
[all …]
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Tile.pbtxt2 graph_op_name: "Tile"
4 name: "Tile"

1234567