Searched refs:old_bytes (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/experimental/resource/ |
D | resource_variable.cc | 50 size_t old_bytes = tensor_.bytes; in AssignFrom() local 70 if (old_bytes != tensor->bytes) { in AssignFrom() 73 tensor_.bytes = old_bytes; in AssignFrom()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_pad_for_convolutions.cc | 246 int64 old_bytes = ShapeUtil::ByteSizeOf(old_shape); in TryResolvePaddedShapesForTensorCore() local 248 if (new_bytes <= old_bytes * kMaxBytesTouchedIncrease) { in TryResolvePaddedShapesForTensorCore() 256 << new_bytes / static_cast<double>(old_bytes) << "x > " in TryResolvePaddedShapesForTensorCore() 355 int64 old_bytes = ShapeUtil::ByteSizeOf(old_shape); in TryResolvePaddedShapesForIntegerConvolution() local 357 if (new_bytes <= old_bytes * kMaxBytesTouchedIncrease) { in TryResolvePaddedShapesForIntegerConvolution() 365 << new_bytes / static_cast<double>(old_bytes) << "x > " in TryResolvePaddedShapesForIntegerConvolution()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | msg.c | 74 size_t old_bytes = arr->size << elem_size_lg2; in _upb_array_realloc() local 82 ptr = upb_arena_realloc(arena, ptr, old_bytes, new_bytes); in _upb_array_realloc()
|
D | decode_fast.c | 190 size_t old_bytes = old_size * valbytes; in fastdecode_resizearr() local 194 char *new_ptr = upb_arena_realloc(&d->arena, old_ptr, old_bytes, new_bytes); in fastdecode_resizearr()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 671 size_t old_bytes; in upb_array_grow() local 679 old_bytes = arr->len * arr->element_size; in upb_array_grow() 681 new_data = upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_grow() 4136 size_t old_bytes = arr->size * arr->element_size; in upb_array_set() local 4139 upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_set()
|
D | upb.h | 810 size_t old_bytes = arr->size * elem_size; in _upb_array_resize_accessor() local 814 arr->data = upb_arena_realloc(arena, arr->data, old_bytes, new_bytes); in _upb_array_resize_accessor()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 667 size_t old_bytes; in upb_array_grow() local 675 old_bytes = arr->len * arr->element_size; in upb_array_grow() 677 new_data = upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_grow() 5002 size_t old_bytes = arr->size * arr->element_size; in upb_array_set() local 5005 upb_realloc(alloc, arr->data, old_bytes, new_bytes); in upb_array_set()
|
D | upb.h | 6944 size_t old_bytes = arr->size * elem_size; 6949 arr->data = upb_realloc(alloc, arr->data, old_bytes, new_bytes);
|