Home
last modified time | relevance | path

Searched refs:uniform (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dinitializers_test.py43 def _test_xavier(self, initializer, shape, variance, uniform): argument
50 uniform=uniform, seed=1))
86 def _test_variance(self, initializer, shape, variance, factor, mode, uniform): argument
94 factor=factor, mode=mode, uniform=uniform, seed=1))
100 for uniform in [False, True]:
107 uniform=uniform)
110 for uniform in [False, True]:
117 uniform=uniform)
120 for uniform in [False, True]:
127 uniform=uniform)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Duniform_test.py30 from tensorflow.python.ops.distributions import uniform as uniform_lib
53 uniform = uniform_lib.Uniform(low=a, high=b)
54 self.assertAllClose(a, uniform.low.eval())
55 self.assertAllClose(b, uniform.high.eval())
56 self.assertAllClose(b - a, uniform.range().eval())
62 uniform = uniform_lib.Uniform(low=a, high=b)
77 pdf = uniform.prob(x)
80 log_pdf = uniform.log_prob(x)
87 uniform = uniform_lib.Uniform(low=a, high=b)
89 self.assertEqual(uniform.batch_shape_tensor().eval(), (5,))
[all …]
/external/deqp/data/gles31/shaders/es32/
Dlinkage_uniform.test4 desc "Vertex side uniform has highp, fragment side uniform mediump."
10 uniform highp float u_val;
21 uniform float u_val;
33 desc "Vertex side uniform has highp, fragment side uniform mediump."
39 uniform highp float u_val;
50 uniform mediump float u_val;
62 desc "Vertex side uniform has lowp, fragment side uniform highp."
68 uniform lowp int u_val;
79 uniform highp int u_val;
91 desc "Vertex side uniform has lowp, fragment side uniform mediump."
[all …]
Dlinkage_tessellation_uniform_types.test23 desc "uniform of type float"
26 uniform float val0 = -1.25;
27 uniform float val1 = 1.0;
74 desc "uniform of type vec2"
77 uniform vec2 val0 = [ vec2(-1.25, 1.25) ];
78 uniform vec2 val1 = [ vec2(1.0, 1.5) ];
125 desc "uniform of type vec3"
128 uniform vec3 val0 = [ vec3(-1.25, 1.25, -9.5) ];
129 uniform vec3 val1 = [ vec3( 1.0, 1.5, 2.5) ];
176 desc "uniform of type vec4"
[all …]
Duniform_location.test28 layout(location = 0) uniform float uni0;
29 layout(location = 0) uniform float uni1;
48 layout(location = 0) uniform float uni0;
49 layout(location = 0) uniform float uni1;
68 layout(location = 0) uniform float uni0;
81 layout(location = 0) uniform float uni1;
100 layout(location = 0) uniform float uni0[8];
101 layout(location = 5) uniform float uni1;
120 layout(location = 0) uniform float uni0[8];
121 layout(location = 5) uniform float uni1;
[all …]
Duniform_block.test4 group valid "Valid uniform interface block syntax tests."
16 uniform UniformBlock
18 uniform vec4 uniformMember;
61 uniform UniformBlock
63 uniform vec4 uniformMember;
82 layout(shared) uniform UniformBlock
127 layout(shared) uniform UniformBlock
148 layout(packed) uniform UniformBlock
193 layout(packed) uniform UniformBlock
214 layout(std140) uniform UniformBlock
[all …]
Dlinkage_geometry_uniform_types.test24 desc "uniform of type float"
27 uniform float val = -1.25;
67 desc "uniform of type vec2"
70 uniform vec2 val = vec2(-1.25, 1.25);
110 desc "uniform of type vec3"
113 uniform vec3 val = vec3(-25.65, -7.25, 14.21);
153 desc "uniform of type vec4"
156 uniform vec4 val = vec4(-1.25, 1.25, -9.5, -12.2);
196 desc "uniform of type mat2"
199 uniform mat2 val = mat2(-1.25, 1.25, -9.5, -12.2);
[all …]
/external/deqp/data/gles31/shaders/es31/
Dlinkage_uniform.test4 desc "Vertex side uniform has highp, fragment side uniform mediump."
10 uniform highp float u_val;
21 uniform float u_val;
33 desc "Vertex side uniform has highp, fragment side uniform mediump."
39 uniform highp float u_val;
50 uniform mediump float u_val;
62 desc "Vertex side uniform has lowp, fragment side uniform highp."
68 uniform lowp int u_val;
79 uniform highp int u_val;
91 desc "Vertex side uniform has lowp, fragment side uniform mediump."
[all …]
Duniform_location.test9 layout(location = 0) uniform float uni0;
10 layout(location = 0) uniform float uni1;
29 layout(location = 0) uniform float uni0;
30 layout(location = 0) uniform float uni1;
49 layout(location = 0) uniform float uni0;
62 layout(location = 0) uniform float uni1;
81 layout(location = 0) uniform float uni0[8];
82 layout(location = 5) uniform float uni1;
101 layout(location = 0) uniform float uni0[8];
102 layout(location = 5) uniform float uni1;
[all …]
Dlinkage_tessellation_uniform_types.test5 desc "uniform of type float"
9 uniform float val0 = -1.25;
10 uniform float val1 = 1.0;
57 desc "uniform of type vec2"
61 uniform vec2 val0 = [ vec2(-1.25, 1.25) ];
62 uniform vec2 val1 = [ vec2(1.0, 1.5) ];
109 desc "uniform of type vec3"
113 uniform vec3 val0 = [ vec3(-1.25, 1.25, -9.5) ];
114 uniform vec3 val1 = [ vec3( 1.0, 1.5, 2.5) ];
161 desc "uniform of type vec4"
[all …]
Duniform_block.test4 group valid "Valid uniform interface block syntax tests."
16 uniform UniformBlock
18 uniform vec4 uniformMember;
61 uniform UniformBlock
63 uniform vec4 uniformMember;
82 layout(shared) uniform UniformBlock
127 layout(shared) uniform UniformBlock
148 layout(packed) uniform UniformBlock
193 layout(packed) uniform UniformBlock
214 layout(std140) uniform UniformBlock
[all …]
Dlinkage_geometry_uniform_types.test5 desc "uniform of type float"
9 uniform float val = -1.25;
49 desc "uniform of type vec2"
53 uniform vec2 val = vec2(-1.25, 1.25);
93 desc "uniform of type vec3"
97 uniform vec3 val = vec3(-25.65, -7.25, 14.21);
137 desc "uniform of type vec4"
141 uniform vec4 val = vec4(-1.25, 1.25, -9.5, -12.2);
181 desc "uniform of type mat2"
185 uniform mat2 val = mat2(-1.25, 1.25, -9.5, -12.2);
[all …]
/external/deqp/data/gles3/shaders/
Ddeclarations.test100 uniform mediump float val;
130 uniform mediump float val;
144 uniform Block { mediump float val; };
177 invariant uniform mediump float val;
199 invariant uniform Block { mediump float val; };
213 uniform Block { invariant mediump float val; };
227 layout(foobar) uniform Block
245 uniform Block
247 layout(foobar) uniform mediump float val;
262 uniform Block
[all …]
Dinvalid_texture_functions.test13 uniform mediump sampler3DShadow s;
32 uniform mediump sampler2DArrayShadow s;
51 uniform mediump samplerCube s;
70 uniform mediump isamplerCube s;
89 uniform mediump usamplerCube s;
108 uniform mediump samplerCube s;
127 uniform mediump isamplerCube s;
146 uniform mediump usamplerCube s;
165 uniform mediump sampler2DArrayShadow s;
184 uniform mediump sampler2DArrayShadow s;
[all …]
Duniform_block.test4 group valid "Valid uniform interface block syntax tests."
16 uniform UniformBlock
18 uniform vec4 uniformMember;
61 uniform UniformBlock
63 uniform vec4 uniformMember;
82 layout(shared) uniform UniformBlock
127 layout(shared) uniform UniformBlock
148 layout(packed) uniform UniformBlock
193 layout(packed) uniform UniformBlock
214 layout(std140) uniform UniformBlock
[all …]
Dqualification_order.test21 uniform highp float x2;
40 uniform highp float x2;
62 uniform highp float x2;
81 uniform highp float x2;
103 uniform float x2;
122 uniform float x2;
144 uniform highp float x2;
163 uniform highp float x2;
185 uniform highp float x2;
204 uniform highp float x2;
[all …]
Dlinkage.test84 values { uniform bool u_false = false; }
112 values { uniform bool u_false = false; }
138 values { uniform bool u_false = false; }
165 values { uniform bool u_false = false; }
2344 group uniform "Uniform linkage"
2348 desc "Vertex side uniform has highp, fragment side uniform mediump."
2354 uniform highp float u_val;
2365 uniform float u_val;
2377 desc "Vertex side uniform has highp, fragment side uniform mediump."
2383 uniform highp float u_val;
[all …]
Dindexing.test12 uniform int u_zero;
29 uniform int u_zero;
47 uniform int u_zero;
66 uniform int u_zero;
86 uniform int u_zero;
105 uniform int u_zero;
127 uniform int u_zero;
150 uniform int u_zero;
177 uniform int u_zero;
204 uniform int u_zero;
[all …]
/external/deqp/data/gles2/shaders/
Dlinkage.test66 values { uniform bool u_false = false; }
77 uniform bool u_false;
91 values { uniform bool u_false = false; }
113 values { uniform bool u_false = false; }
136 values { uniform bool u_false = false; }
647 desc "Same uniform struct in both shaders"
649 uniform float val.a = 1.0;
650 uniform float val.b = 2.0;
656 uniform Struct val;
667 uniform Struct val;
[all …]
Dqualification_order.test18 uniform mediump float x1;
34 uniform mediump float x1;
53 uniform mediump float x1;
69 uniform mediump float x1;
88 uniform float x1;
104 uniform float x1;
127 mediump uniform float x1;
143 mediump uniform float x1;
162 uniform mediump float x1;
178 uniform mediump float x1;
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.ubo.txt27 + Basic uniform buffer object usage
28 - Binding and unbinding uniform buffers
29 - Writing uniform buffer data with glBufferData()
30 + Binding uniform buffers to uniform blocks
34 + Querying uniform block memory layout
37 - Basic scalar, vector and matrix types in uniform blocks
38 - Samplers in uniform blocks - as negative case!
39 - Structures and arrays in uniform blocks
44 - Negative tests for uniform block linking
45 - Unused uniforms in uniform blocks
[all …]
/external/tensorflow/tensorflow/core/kernels/
Drandom_shuffle_op.cc40 static inline void RandomShuffle(Iter first, Iter last, Random& uniform) { in RandomShuffle() argument
45 iter_swap(i, i + uniform(last - i)); in RandomShuffle()
51 OutT output_mat, Random& uniform) { in IndexedShuffle() argument
56 RandomShuffle(permutation.begin(), permutation.end(), uniform); in IndexedShuffle()
81 const auto uniform = [&single](uint32 n) { return single() % n; }; in Compute() local
87 RandomShuffle(vec.data(), vec.data() + size, uniform); in Compute()
96 IndexedShuffle<int32>(size, input_mat, output_mat, uniform); in Compute()
98 IndexedShuffle<int64>(size, input_mat, output_mat, uniform); in Compute()
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles32-master.txt1424 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.sampler2d
1425 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.samplercube
1426 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.sampler2darray
1427 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.sampler3d
1428 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.sampler2dshadow
1429 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.samplercubeshadow
1430 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.sampler2darrayshadow
1431 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.isampler2d
1432 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.isamplercube
1433 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.uniform.vertex.isampler2darray
[all …]
/external/clang/test/OpenMP/
Ddeclare_simd_messages.cpp81 #pragma omp declare simd simdlen(N) uniform(this, var) aligned(var)
91 #pragma omp declare simd uniform
95 #pragma omp declare simd uniform(
97 #pragma omp declare simd uniform()
101 #pragma omp declare simd uniform(this
105 #pragma omp declare simd uniform(this,a
107 #pragma omp declare simd uniform(,a)
188 #pragma omp declare simd uniform(a), linear(a: 4)
191 #pragma omp declare simd linear(a: 4) uniform(a)
213 #pragma omp declare simd uniform(this, t) aligned(this: 4) aligned(this: -4) linear(this: hp)
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp172 nir_foreach_variable(uniform, uniform_list) { in st_nir_assign_uniform_locations()
179 if ((uniform->data.mode == nir_var_uniform || uniform->data.mode == nir_var_shader_storage) && in st_nir_assign_uniform_locations()
180 uniform->interface_type != NULL) in st_nir_assign_uniform_locations()
183 if (uniform->type->is_sampler()) { in st_nir_assign_uniform_locations()
185 bool found = shader_program->UniformHash->get(val, uniform->name); in st_nir_assign_uniform_locations()
191 uniform->data.location = val; in st_nir_assign_uniform_locations()
192 } else if (strncmp(uniform->name, "gl_", 3) == 0) { in st_nir_assign_uniform_locations()
193 const gl_state_index *const stateTokens = (gl_state_index *)uniform->state_slots[0].tokens; in st_nir_assign_uniform_locations()
199 loc = st_nir_lookup_parameter_index(prog->Parameters, uniform->name); in st_nir_assign_uniform_locations()
202 uniform->data.driver_location = loc; in st_nir_assign_uniform_locations()
[all …]

12345678910>>...19