/frameworks/ml/nn/runtime/test/specs/V1_0/ |
svdf_state.mod.py | 20 memory_size = 10 variable 26 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (units, memory_size)) 28 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units)) 31 state_out = Output("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
|
svdf.mod.py | 22 memory_size = 10 variable 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 60 state_in: [0 for _ in range(batches * memory_size * features)], 127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
svdf2.mod.py | 22 memory_size = 10 variable 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 75 state_in: [0 for _ in range(batches * memory_size * features)], 142 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
svdf_state_relaxed.mod.py | 20 memory_size = 10 variable 26 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (units, memory_size)) 28 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units)) 31 state_out = Output("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
|
svdf2_relaxed.mod.py | 22 memory_size = 10 variable 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 76 state_in: [0 for _ in range(batches * memory_size * features)], 143 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
svdf_relaxed.mod.py | 22 memory_size = 10 variable 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 61 state_in: [0 for _ in range(batches * memory_size * features)], 128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
/external/ltp/testcases/kernel/mem/page/ |
page02.c | 73 int memory_size, half_memory_size; local 89 memory_size = 128 * 1024; 92 if (sscanf(argv[1], "%d", &memory_size) != 1) 101 half_memory_size = memory_size / 2; 125 /* "memory_size" */ 129 memory_pointer = malloc(memory_size * sizeof(int)); 148 memory_size, i); 155 (memory_size / 2); 178 (memory_size / 2);
|
page01.c | 74 int memory_size; local 83 memory_size = 256 * 1024; 86 if (sscanf(argv[1], "%d", &memory_size) != 1) 117 /* "memory_size" */ 121 memory_pointer = malloc(memory_size * sizeof(int)); 146 for (j = 1; j <= memory_size; j++) 159 for (j = 1; j <= memory_size; j++) {
|
/frameworks/ml/nn/common/operations/ |
SVDF.cpp | 79 const uint32_t memory_size = SizeOfDimension(weights_time, 1); local 92 stateShape->dimensions = { batch_size, memory_size * num_filters }; 111 const int memory_size = SizeOfDimension(weights_time_, 1); local 114 sizeof(float) * batch_size * memory_size * num_filters); 117 float* state_ptr_batch = GetBuffer<float>(state_out_) + b * memory_size * num_filters; 119 float* state_ptr = state_ptr_batch + c * memory_size; 120 state_ptr[memory_size - 1] = 0.0; 124 // is achieved by starting at state->data.f[memory_size - 1] and having the 125 // stride equal to memory_size. 129 &GetBuffer<float>(state_out_)[memory_size - 1], memory_size) 141 GetBuffer<float>(weights_time_), state_out_ptr_batch, memory_size, num_filters, local [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
svdf.cc | 73 const int memory_size = weights_time->dims->data[1]; local 86 // For each batch, the state is a 2-D tensor: memory_size * num_filters 92 state_size_array->data[1] = memory_size * num_filters; 144 const int memory_size = weights_time->dims->data[1]; local 150 float* state_ptr_batch = state->data.f + b * memory_size * num_filters; 152 float* state_ptr = state_ptr_batch + c * memory_size; 153 state_ptr[memory_size - 1] = 0.0; 159 // is achieved by starting at state->data.f[memory_size - 1] and having the 160 // stride equal to memory_size. 163 batch_size, &state->data.f[memory_size - 1], memory_size) [all...] |
svdf_test.cc | 131 SVDFOpModel(int batches, int units, int input_size, int memory_size, int rank) 135 memory_size_(memory_size), 202 /*memory_size=*/10, /*rank=*/1); 247 /*memory_size=*/10, /*rank=*/2);
|
/external/tensorflow/tensorflow/core/kernels/ |
typed_queue.h | 112 int memory_size = 0; local 115 memory_size += SizeOf(sq); 117 return memory_size;
|
/external/google-breakpad/src/common/linux/tests/ |
crash_generator.h | 92 // Creates a shared memory of |memory_size| bytes for communicating thread 94 bool MapSharedMemory(size_t memory_size);
|
crash_generator.cc | 131 bool CrashGenerator::MapSharedMemory(size_t memory_size) { 135 void* mapped_memory = mmap(0, memory_size, PROT_READ | PROT_WRITE, 142 memset(mapped_memory, 0, memory_size); 144 shared_memory_size_ = memory_size;
|
/external/tensorflow/tensorflow/core/protobuf/ |
device_properties.proto | 48 int64 memory_size = 12;
|
/external/e2fsprogs/intl/ |
printf-parse.c | 88 size_t memory_size; \ 94 memory_size = xtimes (a_allocated, sizeof (argument)); \ 95 if (size_overflow_p (memory_size)) \ 99 ? realloc (a->arg, memory_size) \ 100 : malloc (memory_size)); \ 504 size_t memory_size; local 508 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); 509 if (size_overflow_p (memory_size)) 512 memory = realloc (d->dir, memory_size);
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer_unittest.cc | 77 const uint32_t memory_size = sysconf(_SC_PAGESIZE); local 85 info.start_addr = memory_size; 86 info.size = memory_size;
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
virtual_cluster.cc | 115 if (dev.memory_size() <= 0) { 120 if (peak_mem >= dev.memory_size()) { 123 device_name, " to run ", " but device only has ", dev.memory_size(),
|
/external/syslinux/com32/gpllib/ |
memory.c | 385 unsigned long memory_size = 0; local 391 memory_size = memsize_e820(map, count); 392 if (memory_size > 0) 393 return memory_size; 414 unsigned long memory_size = 0; local 445 memory_size += (end >> 12) - ((start + 4095) >> 12); 448 memory_size += nm[i].size >> 12; 451 return memory_size * 4;
|
/external/tensorflow/tensorflow/core/common_runtime/ |
bfc_allocator.h | 186 AllocationRegion(void* ptr, size_t memory_size) 188 memory_size_(memory_size), 191 DCHECK_EQ(0, memory_size % kMinAllocationSize); 193 (memory_size + kMinAllocationSize - 1) / kMinAllocationSize; 213 size_t memory_size() const { return memory_size_; } function in class:tensorflow::BFCAllocator::AllocationRegion 241 // Array of size "memory_size / kMinAllocationSize". It is 259 void AddAllocationRegion(void* ptr, size_t memory_size) { 263 regions_.insert(entry, AllocationRegion(ptr, memory_size));
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer_unittest.cc | 134 const uint32_t memory_size = sysconf(_SC_PAGESIZE); local 157 memory_size, 186 info.size = memory_size; 212 EXPECT_EQ(memory_size, module->size()); 243 const int32_t memory_size = sysconf(_SC_PAGESIZE); local 270 google_breakpad::scoped_array<char> buffer(new char[memory_size]); 271 memset(buffer.get(), 0, memory_size); 272 ASSERT_EQ(memory_size, write(fd, buffer.get(), memory_size)); 277 memory_size, [all...] |
/external/pdfium/core/fxge/win32/ |
cfx_windowsdib.h | 25 size_t memory_size; member in struct:WINDIB_Open_Args_
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
vhost.h | 52 __u64 memory_size; /* bytes */ member in struct:vhost_memory_region
|
/system/core/init/ |
service_test.cpp | 32 constexpr auto memory_size = sizeof(Service); local 33 alignas(alignof(Service)) char old_memory[memory_size]; 35 for (std::size_t i = 0; i < memory_size; ++i) { 56 for (std::size_t i = 0; i < memory_size; ++i) {
|
/external/strace/ |
kvm.c | 62 PRINT_FIELD_U(", ", u_memory_region, memory_size);
|