Home
last modified time | relevance | path

Searched refs:num_images (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Deval_utils_impl.py116 num_images = len(images)
118 int(math.ceil(math.sqrt(num_images))))
119 num_rows = int(math.ceil(float(num_images) / num_columns))
120 rows = [images[x:x+num_columns] for x in range(0, num_images, num_columns)]
123 num_short = num_rows * num_columns - num_images
Dsummaries_impl.py65 num_images = grid_size ** 2
74 gan_model.real_data[:num_images],
82 gan_model.generated_data[:num_images],
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_image.c60 for (i = 0; i < prog->info.num_images; i++) { in st_bind_images()
122 prog->info.num_images, images); in st_bind_images()
124 if (prog->info.num_images < c->MaxImageUniforms) in st_bind_images()
126 st->cso_context, shader_type, prog->info.num_images, in st_bind_images()
127 c->MaxImageUniforms - prog->info.num_images, NULL); in st_bind_images()
/external/tensorflow/tensorflow/contrib/image/kernels/
Dsegmentation_ops.cc82 const int64 num_images = images.dimension(0), in operator ()() local
103 num_images * num_blocks_vertically * num_blocks_horizontally, cost, in operator ()()
104 [&union_find, num_images, num_blocks_vertically, in operator ()()
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dmnist.py59 num_images = _read32(bytestream)
62 buf = bytestream.read(rows * cols * num_images)
64 data = data.reshape(num_images, rows, cols, 1)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_gs.c109 gp->program.info.num_images); in brw_codegen_gs_prog()
111 prog_data.base.base.nr_image_params = gp->program.info.num_images; in brw_codegen_gs_prog()
Dbrw_cs.c100 cp->program.info.num_images); in brw_codegen_cs_prog()
102 prog_data.base.nr_image_params = cp->program.info.num_images; in brw_codegen_cs_prog()
Dbrw_tes.c100 tep->program.info.num_images); in brw_codegen_tes_prog()
102 prog_data.base.base.nr_image_params = tep->program.info.num_images; in brw_codegen_tes_prog()
Dbrw_tcs.c204 tcp->program.info.num_images); in brw_codegen_tcs_prog()
205 prog_data.base.base.nr_image_params = tcp->program.info.num_images; in brw_codegen_tcs_prog()
Dbrw_shader.cpp1197 if (prog->info.num_images) { in brw_assign_common_binding_table_offsets()
1199 next_binding_table_offset += prog->info.num_images; in brw_assign_common_binding_table_offsets()
Dbrw_vs.c160 prog_data.base.base.nr_image_params = vp->program.info.num_images; in brw_codegen_vs_prog()
Dbrw_wm.c151 prog_data.base.nr_image_params = fp->program.info.num_images; in brw_codegen_wm_prog()
Dbrw_context.c281 if (unlikely(shader && shader->Program->info.num_images)) { in intel_update_state()
282 for (unsigned j = 0; j < shader->Program->info.num_images; j++) { in intel_update_state()
Dbrw_wm_surface_state.c1783 if (prog->info.num_images) { in brw_upload_image_surfaces()
1784 for (unsigned i = 0; i < prog->info.num_images; i++) { in brw_upload_image_surfaces()
/external/mesa3d/src/compiler/
Dshader_info.h52 unsigned num_images; member
/external/mesa3d/src/compiler/nir/
Dnir_gather_info.c294 shader->info->num_images = 0; in nir_shader_gather_info()
304 shader->info->num_images += count; in nir_shader_gather_info()
/external/ImageMagick/coders/
Ddds.c1657 num_images; in ReadDDSImage() local
1761 num_images = 1; in ReadDDSImage()
1767 num_images = 0; in ReadDDSImage()
1768 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEX) num_images++; in ReadDDSImage()
1769 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEX) num_images++; in ReadDDSImage()
1770 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEY) num_images++; in ReadDDSImage()
1771 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEY) num_images++; in ReadDDSImage()
1772 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_POSITIVEZ) num_images++; in ReadDDSImage()
1773 if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP_NEGATIVEZ) num_images++; in ReadDDSImage()
1777 num_images = dds_info.depth; in ReadDDSImage()
[all …]
/external/webp/src/mux/
Dmuxinternal.c466 int num_images; in MuxValidate() local
527 err = ValidateChunk(mux, IDX_VP8, NO_FLAG, flags, -1, &num_images); in MuxValidate()
529 if (num_vp8x == 0 && num_images != 1) return WEBP_MUX_INVALID_ARGUMENT; in MuxValidate()
Dmuxread.c294 const int num_images = MuxImageCount(mux->images_, WEBP_CHUNK_IMAGE); in ValidateForSingleImage() local
297 if (num_images == 0) { in ValidateForSingleImage()
300 } else if (num_images == 1 && num_frames == 0) { in ValidateForSingleImage()
/external/tensorflow/tensorflow/examples/udacity/
D1_notmnist.ipynb324 " num_images = 0\n",
332 " dataset[num_images, :, :] = image_data\n",
333 " num_images = num_images + 1\n",
337 " dataset = dataset[0:num_images, :, :]\n",
338 " if num_images < min_num_images:\n",
340 " (num_images, min_num_images))\n",
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_wayland.c708 int num_images = pCreateInfo->minImageCount; in wsi_wl_surface_create_swapchain() local
710 size_t size = sizeof(*chain) + num_images * sizeof(chain->images[0]); in wsi_wl_surface_create_swapchain()
733 chain->image_count = num_images; in wsi_wl_surface_create_swapchain()
Dwsi_common_x11.c974 const unsigned num_images = pCreateInfo->minImageCount; in x11_surface_create_swapchain() local
976 size_t size = sizeof(*chain) + num_images * sizeof(chain->images[0]); in x11_surface_create_swapchain()
1001 chain->image_count = num_images; in x11_surface_create_swapchain()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c340 if (nir->info->num_images > 0) { in anv_pipeline_compile()
341 prog_data->nr_params += nir->info->num_images * BRW_IMAGE_PARAM_SIZE; in anv_pipeline_compile()
/external/tensorflow/tensorflow/tools/docker/notebooks/
D3_mnist_from_scratch.ipynb570 "def extract_data(filename, num_images):\n",
582 " buf = bytestream.read(IMAGE_SIZE * IMAGE_SIZE * num_images)\n",
585 " data = data.reshape(num_images, IMAGE_SIZE, IMAGE_SIZE, 1)\n",
746 "def extract_labels(filename, num_images):\n",
752 " buf = bytestream.read(1 * num_images)\n",
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp3229 if (sh->Program->info.num_images > ctx->Const.Program[i].MaxImageUniforms) in check_image_resources()
3232 sh->Program->info.num_images, in check_image_resources()
3235 total_image_units += sh->Program->info.num_images; in check_image_resources()

12