Home
last modified time | relevance | path

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

1234567

/external/tensorflow/tensorflow/compiler/xla/
Dlayout_test.cc39 Layout({3, 2, 1, 0}, {}, {Tile({42, 123}), Tile({4, 5})}).ToString(), in TEST_F()
41 EXPECT_EQ(Layout({1, 0}, {}, {Tile({2, 55})}) in TEST_F()
45 EXPECT_EQ(Layout({3, 2, 1, 0}, {}, {Tile({42, 123}), Tile({4, 5})}) in TEST_F()
49 EXPECT_EQ(Layout({1, 0}, {}, {Tile({-2, 55})}) in TEST_F()
58 oss << Tile({7, 8}); in TEST_F()
76 EXPECT_EQ(Layout({0, 1, 2}, {}, {Tile({42, 44})}), in TEST_F()
77 Layout({0, 1, 2}, {}, {Tile({42, 44})})); in TEST_F()
78 EXPECT_NE(Layout({0, 1, 2}, {}, {Tile({42, 44})}), in TEST_F()
79 Layout({0, 1, 2}, {}, {Tile({42, 45})})); in TEST_F()
80 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_t> dimensions) in Tile() function
40 static Tile CreateFromProto(const TileProto& tile_proto) { in CreateFromProto()
41 return Tile(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_t value) { in add_dimensions()
63 Tile& clear_dimensions() { in clear_dimensions()
74 friend H AbslHashValue(H h, const Tile& t) { in AbslHashValue()
[all …]
Dlayout.cc27 TileProto Tile::ToProto() const { in ToProto()
35 std::string Tile::ToString() const { in ToString()
60 *layout.add_tiles() = Tile::CreateFromProto(tile_proto); in CreateFromProto()
73 for (const Tile& tile : tiles()) { in ToProto()
101 for (const Tile& tile : tiles()) { in ToString()
153 std::ostream& operator<<(std::ostream& out, const Tile& tile) { in operator <<()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util_test.cc35 HloSharding::Tile(Array4D<int64_t>({{{{0, 1}}, {{2, 3}}}})); in TEST()
37 HloSharding::Tile(Array4D<int64_t>({{{{0}, {2}}}, {{{1}, {3}}}})); in TEST()
64 HloSharding sharding = HloSharding::Tile(Array3D<int64_t>({{{0}, {1}}})); in TEST()
74 HloSharding::Tile(Array3D<int64_t>({{{0}}, {{1}}})); in TEST()
75 HloSharding output_sharding = HloSharding::Tile(Array2D<int64_t>({{0}, {1}})); in TEST()
85 HloSharding input_sharding = HloSharding::Tile(Array2D<int64_t>({{0}, {1}})); in TEST()
87 HloSharding::Tile(Array3D<int64_t>({{{0}}, {{1}}})); in TEST()
99 HloSharding input_sharding = HloSharding::Tile(tile); in TEST()
101 HloSharding output_sharding = HloSharding::Tile(tile); in TEST()
112 HloSharding::Tile(Array3D<int64_t>({{{0}}, {{1}}})); in TEST()
[all …]
Dhlo_sharding_test.cc114 TEST_F(HloShardingTest, Tile) { in TEST_F() argument
117 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 0, 2, 3})); in TEST_F()
124 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 1, 2, 3})); in TEST_F()
132 HloSharding sharding = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
169 HloSharding tiled_sharding = HloSharding::Tile(Array<int64_t>({{0, 1}})); in TEST_F()
226 HloSharding sharding1 = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
227 HloSharding sharding2 = HloSharding::Tile(MakeArray({2, 2}, {0, 3, 2, 1})); in TEST_F()
333 HloSharding::Tile(Array3D<int64_t>({{{2, 3}}, {{5, 7}}})); in TEST_F()
341 HloSharding sharding = HloSharding::Tile( in TEST_P()
364 {HloSharding::Replicate(), HloSharding::Tile(Array2D<int64_t>({{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/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTileService.java5 import android.service.quicksettings.Tile;
15 private Tile tile;
20 protected final Tile getQsTile() { in getQsTile()
50 private static Tile createTile() { in createTile()
51 return Shadow.newInstanceOf(Tile.class); in createTile()
/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_t>;
85 extern template struct Tile<GPUDevice, float, int32>;
86 extern template struct Tile<GPUDevice, float, int64_t>;
87 extern template struct Tile<GPUDevice, double, int32>;
88 extern template struct Tile<GPUDevice, double, int64_t>;
89 extern template struct Tile<GPUDevice, complex64, int32>;
90 extern template struct Tile<GPUDevice, complex64, int64_t>;
91 extern template struct Tile<GPUDevice, complex128, int32>;
[all …]
Dtile_functor_cpu_float.cc25 template struct Tile<CPUDevice, float, int32>; variable
26 template struct Tile<CPUDevice, float, int64_t>; variable
Dtile_functor_cpu_double.cc25 template struct Tile<CPUDevice, double, int32>; variable
26 template struct Tile<CPUDevice, double, int64_t>; variable
Dtile_functor_cpu_bool.cc25 template struct Tile<CPUDevice, bool, int32>; variable
26 template struct Tile<CPUDevice, bool, int64_t>; 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
/external/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()
247 bool Tile::ReadIntraSegmentId(const Block& block) { in ReadIntraSegmentId()
256 void Tile::ReadSkip(const Block& block) { in ReadSkip()
275 bool Tile::ReadSkipMode(const Block& block) { in ReadSkipMode()
299 void Tile::ReadCdef(const Block& block) { in ReadCdef()
326 int Tile::ReadAndClipDelta(uint16_t* const cdf, int delta_small, int scale, in ReadAndClipDelta()
346 void Tile::ReadQuantizerIndexDelta(const Block& block) { in ReadQuantizerIndexDelta()
358 void Tile::ReadLoopFilterDelta(const Block& block) { in ReadLoopFilterDelta()
[all …]
Dtransform_size.cc70 int Tile::GetTopTransformWidth(const Block& block, int row4x4, int column4x4, in GetTopTransformWidth()
83 int Tile::GetLeftTransformHeight(const Block& block, int row4x4, int column4x4, in GetLeftTransformHeight()
96 TransformSize Tile::ReadFixedTransformSize(const Block& block) { in ReadFixedTransformSize()
134 void Tile::ReadVariableTransformTree(const Block& block, int row4x4, in ReadVariableTransformTree()
196 void Tile::DecodeTransformSize(const Block& block) { in DecodeTransformSize()
/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/tensorflow/tensorflow/core/transforms/constant_folding/tests/
Dtile_with_multiplies_being_one.mlir12 …%Tile, %ctl_5 = Tile(%VariableV2, %Const) name("t1") {T = f32, Tmultiples = i32} : (tensor<4x6x!tf…
13 …%Tile_6, %ctl_7 = Tile(%VariableV2_0, %Const_3) name("t2") {T = f32, Tmultiples = i32} : (tensor<4…
14 …%Add, %ctl_8 = Add(%Tile, %Tile_6) name("out") {T = f32} : (tensor<*xf32>, tensor<*xf32>) -> (tens…
/external/libgav1/src/
Dtile.h70 class Tile : public MaxAlignedAllocable {
72 static std::unique_ptr<Tile> Create( in Create()
84 std::unique_ptr<Tile> tile(new (std::nothrow) Tile( in Create()
94 Tile(Tile&& tile) noexcept;
95 Tile& operator=(Tile&& tile) noexcept;
96 Tile(const Tile&) = delete;
97 Tile& operator=(const Tile&) = delete;
243 Tile(int tile_number, const uint8_t* data, size_t size,
786 struct Tile::Block {
787 Block(Tile* tile_ptr, BlockSize size, int row4x4, int column4x4, in Block()
[all …]
Dmotion_vector.cc60 void SetupGlobalMv(const Tile::Block& block, int index, in SetupGlobalMv()
105 void SearchStack(const Tile::Block& block, const BlockParameters& mv_bp, in SearchStack()
141 void CompoundSearchStack(const Tile::Block& block, const BlockParameters& mv_bp, in CompoundSearchStack()
179 void AddReferenceMvCandidate(const Tile::Block& block, in AddReferenceMvCandidate()
209 void ScanRow(const Tile::Block& block, int mv_column, int delta_row, in ScanRow()
213 const Tile& tile = block.tile; in ScanRow()
233 void ScanColumn(const Tile::Block& block, int mv_row, int delta_column, in ScanColumn()
237 const Tile& tile = block.tile; in ScanColumn()
258 void ScanPoint(const Tile::Block& block, int delta_row, int delta_column, in ScanPoint()
263 const Tile& tile = block.tile; in ScanPoint()
[all …]
/external/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
548 bool Tile::Init() { in Init()
600 bool Tile::ProcessSuperBlockRow(int row4x4, in ProcessSuperBlockRow()
626 template bool Tile::ProcessSuperBlockRow<kProcessingModeDecodeOnly, false>(
629 template bool Tile::ProcessSuperBlockRow<kProcessingModeParseAndDecode, true>(
632 void Tile::SaveSymbolDecoderContext() { in SaveSymbolDecoderContext()
639 bool Tile::ParseAndDecode() { in ParseAndDecode()
666 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,
389 int Tile::GetIntraEdgeFilterType(const Block& block, Plane plane) const { in GetIntraEdgeFilterType()
407 void Tile::DirectionalPrediction(const Block& block, Plane plane, int x, int y, in DirectionalPrediction()
493 void Tile::PalettePrediction(const Block& block, const Plane plane, in PalettePrediction()
517 template void Tile::PalettePrediction<uint8_t>(
521 template void Tile::PalettePrediction<uint16_t>(
527 void Tile::ChromaFromLumaPrediction(const Block& block, const Plane plane, in ChromaFromLumaPrediction()
558 template void Tile::ChromaFromLumaPrediction<uint8_t>(
[all …]
/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/robolectric/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/tensorflow/tensorflow/lite/kernels/
Dtile.cc179 void Tile(const TfLiteIntArray& in_dimensions, const TfLiteTensor* in_data, in Tile() function
269 Tile<float>(*(input->dims), input, multipliers, output); in Eval()
272 Tile<int8_t>(*(input->dims), input, multipliers, output); in Eval()
275 Tile<uint8_t>(*(input->dims), input, multipliers, output); in Eval()
278 Tile<int32_t>(*(input->dims), input, multipliers, output); in Eval()
281 Tile<int64_t>(*(input->dims), input, multipliers, output); in Eval()
290 Tile<bool>(*(input->dims), input, multipliers, output); in Eval()
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Tile.pbtxt2 graph_op_name: "Tile"
4 name: "Tile"

1234567