/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | spacetodepth_op.cc | 34 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_)); in SpaceToDepthOp() 36 ctx, block_size_ > 1, in SpaceToDepthOp() 37 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in SpaceToDepthOp() 81 OP_REQUIRES(ctx, input_shape[1 + i] % block_size_ == 0, in Compile() 84 " is not divisible by block_size=", block_size_)); in Compile() 85 block_elems *= block_size_; in Compile() 90 reshaped_shape.push_back(input_shape[1 + i] / block_size_); in Compile() 91 reshaped_shape.push_back(block_size_); in Compile() 106 output_shape.push_back(input_shape[1 + i] / block_size_); in Compile() 113 OP_REQUIRES(ctx, input_shape[2 + i] % block_size_ == 0, in Compile() [all …]
|
D | depthtospace_op.cc | 34 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_)); in DepthToSpaceOp() 36 ctx, block_size_ > 1, in DepthToSpaceOp() 37 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in DepthToSpaceOp() 85 reshaped_shape.push_back(block_size_); in Compile() 86 block_elems *= block_size_; in Compile() 99 output_shape.push_back(input_shape[1 + i] * block_size_); in Compile() 107 reshaped_shape.push_back(block_size_); in Compile() 108 block_elems *= block_size_; in Compile() 125 output_shape.push_back(input_shape[2 + i] * block_size_); in Compile() 140 input_shape[feature_dim] % (block_size_ * block_size_) == 0, in Compile() [all …]
|
D | batchtospace_op.cc | 169 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_)); in BatchToSpaceOp() 171 ctx, block_size_ > 1, in BatchToSpaceOp() 172 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in BatchToSpaceOp() 180 {block_size_, block_size_}, crops); in Compile() 184 int block_size_; member in tensorflow::__anon59c828ae0111::BatchToSpaceOp
|
D | spacetobatch_op.cc | 171 OP_REQUIRES_OK(ctx, ctx->GetAttr("block_size", &block_size_)); in SpaceToBatchOp() 173 ctx, block_size_ > 1, in SpaceToBatchOp() 174 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in SpaceToBatchOp() 182 {block_size_, block_size_}, paddings); in Compile() 186 int block_size_; member in tensorflow::__anon9eb6bd6e0111::SpaceToBatchOp
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spacetodepth_op.cc | 52 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_)); in SpaceToDepthOp() 53 OP_REQUIRES(context, block_size_ > 1, in SpaceToDepthOp() 55 block_size_)); in SpaceToDepthOp() 94 (width % block_size_) == 0 && (height % block_size_) == 0, in Compute() 97 " should be divisible by block_size: ", block_size_)); in Compute() 101 const int output_depth = input_depth * block_size_ * block_size_; in Compute() 102 const int output_width = width / block_size_; in Compute() 103 const int output_height = height / block_size_; in Compute() 123 functor(context->eigen_device<GPUDevice>(), Tinput_v, block_size_, in Compute() 128 functor(context->eigen_device<GPUDevice>(), Tinput, block_size_, in Compute() [all …]
|
D | depthtospace_op.cc | 52 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_)); in DepthToSpaceOp() 53 OP_REQUIRES(context, block_size_ > 1, in DepthToSpaceOp() 55 block_size_)); in DepthToSpaceOp() 92 const int block_size_sq = block_size_ * block_size_; in Compute() 101 const int output_width = input_width * block_size_; in Compute() 102 const int output_height = input_height * block_size_; in Compute() 121 functor(context->eigen_device<GPUDevice>(), Tinput_v, block_size_, in Compute() 126 functor(context->eigen_device<GPUDevice>(), Tinput, block_size_, in Compute() 137 functor(context->eigen_device<Device>(), Tinput, block_size_, Toutput); in Compute() 142 int block_size_; member in tensorflow::DepthToSpaceOp
|
D | batchtospace_op.cc | 222 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_)); in BatchToSpaceOp() 224 context, block_size_ > 1, in BatchToSpaceOp() 225 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in BatchToSpaceOp() 230 block_shape_vec(0) = block_size_; in BatchToSpaceOp() 231 block_shape_vec(1) = block_size_; in BatchToSpaceOp() 249 int block_size_; member in tensorflow::BatchToSpaceOp
|
D | spacetobatch_op.cc | 227 OP_REQUIRES_OK(context, context->GetAttr("block_size", &block_size_)); in SpaceToBatchOp() 229 context, block_size_ > 1, in SpaceToBatchOp() 230 errors::InvalidArgument("Block size should be > 1: ", block_size_)); in SpaceToBatchOp() 235 block_shape_vec(0) = block_size_; in SpaceToBatchOp() 236 block_shape_vec(1) = block_size_; in SpaceToBatchOp() 253 int block_size_; member in tensorflow::SpaceToBatchOp
|
/external/webrtc/webrtc/common_audio/ |
D | blocker.cc | 109 block_size_(block_size), in Blocker() 112 initial_delay_(block_size_ - gcd(chunk_size, shift_amount)), in Blocker() 116 input_block_(block_size_, num_input_channels_), in Blocker() 117 output_block_(block_size_, num_output_channels_), in Blocker() 118 window_(new float[block_size_]), in Blocker() 122 RTC_CHECK_LE(shift_amount_, block_size_); in Blocker() 124 memcpy(window_.get(), window, block_size_ * sizeof(*window_.get())); in Blocker() 182 block_size_); in ProcessChunk() 183 input_buffer_.MoveReadPositionBackward(block_size_ - shift_amount_); in ProcessChunk() 186 block_size_, in ProcessChunk() [all …]
|
/external/brotli/c/enc/ |
D | metablock_inc.h | 34 size_t block_size_; 61 self->block_size_ = 0; in FN() 89 self->block_size_ = in FN() 90 BROTLI_MAX(size_t, self->block_size_, self->min_block_size_); in FN() 93 split->lengths[0] = (uint32_t)self->block_size_; in FN() 103 self->block_size_ = 0; in FN() 104 } else if (self->block_size_ > 0) { in FN() 125 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in FN() 136 self->block_size_ = 0; in FN() 141 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in FN() [all …]
|
D | metablock.c | 328 size_t block_size_; member 357 self->block_size_ = 0; in InitContextBlockSplitter() 393 if (self->block_size_ < self->min_block_size_) { in ContextBlockSplitterFinishBlock() 394 self->block_size_ = self->min_block_size_; in ContextBlockSplitterFinishBlock() 399 split->lengths[0] = (uint32_t)self->block_size_; in ContextBlockSplitterFinishBlock() 414 self->block_size_ = 0; in ContextBlockSplitterFinishBlock() 415 } else if (self->block_size_ > 0) { in ContextBlockSplitterFinishBlock() 448 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in ContextBlockSplitterFinishBlock() 463 self->block_size_ = 0; in ContextBlockSplitterFinishBlock() 468 split->lengths[self->num_blocks_] = (uint32_t)self->block_size_; in ContextBlockSplitterFinishBlock() [all …]
|
D | hash_longest_match64_inc.h | 37 size_t block_size_; member 74 self->block_size_ = (size_t)1 << common->params.block_bits; in FN() 75 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in FN() 224 (num[key] > self->block_size_) ? in FN() 225 (num[key] - self->block_size_) : 0u; in FN()
|
D | hash_longest_match_inc.h | 35 size_t block_size_; member 69 self->block_size_ = (size_t)1 << common->params.block_bits; in FN() 70 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in FN() 217 (num[key] > self->block_size_) ? (num[key] - self->block_size_) : 0u; in FN()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | ram_file_block_cache.cc | 83 if (block->data.size() < block_size_) { in UpdateLRU() 128 block->data.resize(block_size_, 0); in MaybeFetch() 130 status.Update(block_fetcher_(key.first, key.second, block_size_, in MaybeFetch() 170 size_t start = block_size_ * (offset / block_size_); in Read() 171 size_t finish = block_size_ * ((offset + n) / block_size_); in Read() 173 finish += block_size_; in Read() 177 for (size_t pos = start; pos < finish; pos += block_size_) { in Read() 211 if (data.size() < block_size_) { in Read()
|
D | ram_file_block_cache.h | 54 : block_size_(block_size), in block_size_() function 108 size_t block_size() const override { return block_size_; } in block_size() 118 return block_size_ > 0 && max_bytes_ > 0; in IsCacheEnabled() 124 const size_t block_size_;
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
D | weighted_quantiles_stream.h | 77 std::tie(max_levels_, block_size_) = GetQuantileSpecs(eps, max_elements); in WeightedQuantilesStream() 78 buffer_ = Buffer(block_size_, max_elements); in WeightedQuantilesStream() 110 local_summary_.Compress(block_size_, eps_); in PushBuffer() 121 local_summary_.Compress(block_size_, eps_); in PushSummary() 262 local_summary_.Size() <= block_size_ + 1) { in PropagateLocalSummary() 267 local_summary_.Compress(block_size_, eps_); in PropagateLocalSummary() 278 int64 block_size_; variable
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_stream.h | 77 std::tie(max_levels_, block_size_) = GetQuantileSpecs(eps, max_elements); in WeightedQuantilesStream() 78 buffer_ = Buffer(block_size_, max_elements); in WeightedQuantilesStream() 110 local_summary_.Compress(block_size_, eps_); in PushBuffer() 121 local_summary_.Compress(block_size_, eps_); in PushSummary() 262 local_summary_.Size() <= block_size_ + 1) { in PropagateLocalSummary() 267 local_summary_.Compress(block_size_, eps_); in PropagateLocalSummary() 278 int64 block_size_; variable
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | arena.cc | 47 block_size_(block_size), in Arena() 54 reinterpret_cast<char*>(port::AlignedMalloc(block_size_, sizeof(void*))); in Arena() 56 first_blocks_[0].size = block_size_; in Arena() 111 AllocatedBlock* block = AllocNewBlock(block_size_, alignment); in MakeNewBlock() 204 if (block_size_ == 0 || size > block_size_ / 4) { in GetMemoryFallback()
|
D | arena.h | 68 assert(remaining_ <= block_size_); // an invariant in GetMemory() 93 const size_t block_size_; variable
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | time_stretch_unittest.cc | 65 block_size_(30 * sample_rate_hz_ / 1000), // 30 ms in TimeStretchTest() 66 audio_(new int16_t[block_size_]), in TimeStretchTest() 72 RTC_CHECK(input_file_->Read(block_size_, audio_.get())); in Next30Ms() 84 UpdateReturnStats(accelerate.Process(Next30Ms(), block_size_, fast_mode, in TestAccelerate() 105 const size_t block_size_; member in webrtc::TimeStretchTest
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | proto_buffer_writer.h | 61 : block_size_(block_size), in ProtoBufferWriter() 101 remain > static_cast<size_t>(block_size_) ? block_size_ : remain; in Next() 154 const int block_size_; ///< size to alloc for each new \a grpc_slice needed variable
|
/external/webrtc/webrtc/common_audio/resampler/ |
D | sinc_resampler.cc | 178 assert(block_size_ > kKernelSize); in SincResampler() 198 block_size_ = r4_ - r2_; in UpdateRegions() 290 ceil((block_size_ - virtual_source_idx_) / current_io_ratio)); in Resample() 292 assert(virtual_source_idx_ < block_size_); in Resample() 330 virtual_source_idx_ -= block_size_; in Resample() 348 return static_cast<size_t>(block_size_ / io_sample_rate_ratio_); in ChunkSize()
|
/external/libvpx/libvpx/test/ |
D | hadamard_test.cc | 136 block_size_ = bwh_ * bwh_; in SetUp() 162 for (int i = 0; i < block_size_; ++i) a[i] = Rand(); in CompareReferenceRandom() 168 std::sort(b, b + block_size_); in CompareReferenceRandom() 169 std::sort(b_ref, b_ref + block_size_); in CompareReferenceRandom() 178 for (int i = 0; i < block_size_ * 8; ++i) a[i] = Rand(); in VaryStride() 189 std::sort(b, b + block_size_); in VaryStride() 190 std::sort(b_ref, b_ref + block_size_); in VaryStride() 216 int block_size_; member in __anon03c2fb560111::HadamardTestBase
|
/external/protobuf/src/google/protobuf/stubs/ |
D | bytestream_unittest.cc | 51 : data_(data), block_size_(block_size) {} in MockByteSource() 55 return data_.substr(0, block_size_); in Peek() 61 int block_size_; member in google::protobuf::strings::__anon04605d700111::MockByteSource
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 62 block_size_(block_size > 0 ? block_size : size), in ArrayInputStream() 72 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 115 block_size_(block_size > 0 ? block_size : size), in ArrayOutputStream() 125 last_returned_size_ = std::min(block_size_, size_ - position_); in Next()
|