Searched refs:packed_var (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/python/distribute/ |
D | packed_distributed_variable_test.py | 48 packed_var = packed_distributed_variable.PackedDistributedVariable([v0, v1]) 49 self.assertFalse(packed_var.handle.is_packed) 50 self.assertTrue(packed_var.is_initialized) 53 self.assertAllEqual(packed_var.get_var_on_current_device(), v0) 54 val0 = packed_var.assign(2.0).assign_add(1.0) 58 self.assertAllEqual(packed_var.get_var_on_current_device(), v1) 59 val0 = packed_var.assign(2.0).assign_add(1.0) 64 self.assertTrue(packed_var.handle.is_packed) 66 packed_var.assign_add(3.0).assign_sub(1.0) 67 read0 = packed_var.value() [all …]
|
D | values_util.py | 87 packed_var = var._packed_variable # pylint: disable=protected-access 88 if packed_var is not None: 91 assign_on_device(d, packed_var, tensor) 92 for d in packed_var.devices))
|
D | tpu_strategy.py | 1275 packed_var = var._packed_variable # pylint: disable=protected-access 1276 if packed_var is not None: 1277 for device in packed_var.devices: 1278 values_and_devices.append((packed_var, device))
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_packed_varyings.cpp | 617 ir_variable *packed_var = packed_deref->variable_referenced(); in lower_rvalue() local 619 packed_var->data.stream |= in lower_rvalue() 715 ir_variable *packed_var = new(this->mem_ctx) in get_packed_varying_deref() local 721 packed_var->data.max_array_access = this->gs_input_vertices - 1; in get_packed_varying_deref() 723 packed_var->data.centroid = unpacked_var->data.centroid; in get_packed_varying_deref() 724 packed_var->data.sample = unpacked_var->data.sample; in get_packed_varying_deref() 725 packed_var->data.patch = unpacked_var->data.patch; in get_packed_varying_deref() 726 packed_var->data.interpolation = in get_packed_varying_deref() 729 packed_var->data.location = location; in get_packed_varying_deref() 730 packed_var->data.precision = unpacked_var->data.precision; in get_packed_varying_deref() [all …]
|
/external/tensorflow/tensorflow/python/eager/ |
D | remote_test.py | 425 packed_var = ops.pack_eager_tensors([var0.handle, var1.handle]) 426 self.assertEqual(packed_var.device, 428 self.assertEqual(packed_var.backing_device, 435 packed_var, dtype=dtypes.float32) 438 packed_var, dtype=dtypes.float32)
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 1130 LLVMValueRef packed_var, packed; in lp_build_sample_aos() local 1149 packed_var = lp_build_alloca(bld->gallivm, u8n_bld.vec_type, "packed_var"); in lp_build_sample_aos() 1157 packed_var); in lp_build_sample_aos() 1184 packed_var); in lp_build_sample_aos() 1193 packed_var); in lp_build_sample_aos() 1198 packed = LLVMBuildLoad(builder, packed_var, ""); in lp_build_sample_aos()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_serialize.c | 204 union packed_var { union 236 STATIC_ASSERT(sizeof(union packed_var) == 4); in write_variable() 237 union packed_var flags; in write_variable() 342 union packed_var flags; in read_variable()
|