Home
last modified time | relevance | path

Searched refs:spec1 (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_supported_values_test.py339 spec1 = RaggedTensorSpec(
345 self.assertIsNone(spec1._shape.rank)
346 self.assertEqual(spec1._dtype, dtypes.float32)
347 self.assertEqual(spec1._row_splits_dtype, dtypes.int64)
348 self.assertEqual(spec1._ragged_rank, 1)
349 self.assertEqual(spec1._flat_values_spec, flat_values_spec)
351 self.assertIsNone(spec1.shape.rank)
352 self.assertEqual(spec1.dtype, dtypes.float32)
353 self.assertEqual(spec1.row_splits_dtype, dtypes.int64)
354 self.assertEqual(spec1.ragged_rank, 1)
[all …]
Drow_partition_test.py798 def testIsCompatibleWith(self, spec1, spec2): argument
799 self.assertTrue(spec1.is_compatible_with(spec2))
809 def testIsNotCompatibleWith(self, spec1, spec2): argument
810 self.assertFalse(spec1.is_compatible_with(spec2))
814 spec1=RowPartitionSpec(nrows=8, nvals=3, dtype=dtypes.int32),
818 spec1=RowPartitionSpec(nrows=8, nvals=None),
822 spec1=RowPartitionSpec(nrows=8, nvals=33),
826 spec1=RowPartitionSpec(nrows=12, uniform_row_length=3),
830 spec1=RowPartitionSpec(5, 35, 7),
834 def testMostSpecificCompatibleType(self, spec1, spec2, expected): argument
[all …]
Dragged_tensor_test.py1706 spec1 = RaggedTensorSpec(ragged_rank=1)
1707 self.assertIsNone(spec1._shape.rank)
1708 self.assertEqual(spec1._dtype, dtypes.float32)
1709 self.assertEqual(spec1._row_splits_dtype, dtypes.int64)
1710 self.assertEqual(spec1._ragged_rank, 1)
1712 self.assertIsNone(spec1.shape.rank)
1713 self.assertEqual(spec1.dtype, dtypes.float32)
1714 self.assertEqual(spec1.row_splits_dtype, dtypes.int64)
1715 self.assertEqual(spec1.ragged_rank, 1)
1732 spec1 = RaggedTensorSpec(ragged_rank=1)
[all …]
/external/selinux/libselinux/src/
Dlabel_file.c1182 static enum selabel_cmp_result incomp(struct spec *spec1, struct spec *spec2, const char *reason, i… in incomp() argument
1187 i, spec1->regex_str, spec1->mode, spec1->lr.ctx_raw, in incomp()
1205 struct spec *spec1 = &spec_arr1[i]; in cmp() local
1213 if (!spec1->hasMetaChars && spec2->hasMetaChars) { in cmp()
1219 if (spec1->hasMetaChars && !spec2->hasMetaChars) { in cmp()
1225 if (spec1->regex && spec2->regex) { in cmp()
1226 if (regex_cmp(spec1->regex, spec2->regex) == SELABEL_INCOMPARABLE){ in cmp()
1227 return incomp(spec1, spec2, "regex", i, j); in cmp()
1230 if (strcmp(spec1->regex_str, spec2->regex_str)) in cmp()
1231 return incomp(spec1, spec2, "regex_str", i, j); in cmp()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DAlgorithmParametersPSSTest.java188 PSSParameterSpec spec1, PSSParameterSpec spec2) { in assertPSSParameterSpecEquals() argument
190 getDigestAlgorithmCanonicalName(spec1.getDigestAlgorithm()), in assertPSSParameterSpecEquals()
193 getMGFAlgorithmCanonicalName(spec1.getMGFAlgorithm()), in assertPSSParameterSpecEquals()
196 AlgorithmParameterSpec spec1MgfParams = spec1.getMGFParameters(); in assertPSSParameterSpecEquals()
212 assertEquals(spec1.getSaltLength(), spec2.getSaltLength()); in assertPSSParameterSpecEquals()
213 assertEquals(spec1.getTrailerField(), spec2.getTrailerField()); in assertPSSParameterSpecEquals()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DAlgorithmParametersPSSTest.java192 PSSParameterSpec spec1, PSSParameterSpec spec2) { in assertPSSParameterSpecEquals() argument
194 getDigestAlgorithmCanonicalName(spec1.getDigestAlgorithm()), in assertPSSParameterSpecEquals()
197 getMGFAlgorithmCanonicalName(spec1.getMGFAlgorithm()), in assertPSSParameterSpecEquals()
200 AlgorithmParameterSpec spec1MgfParams = spec1.getMGFParameters(); in assertPSSParameterSpecEquals()
216 assertEquals(spec1.getSaltLength(), spec2.getSaltLength()); in assertPSSParameterSpecEquals()
217 assertEquals(spec1.getTrailerField(), spec2.getTrailerField()); in assertPSSParameterSpecEquals()
/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor_spec_test.py75 spec1 = StructuredTensorSpec([1, 2, 3], spec1_fields)
76 self.assertEqual(spec1._shape, (1, 2, 3))
77 self.assertEqual(spec1._field_specs, spec1_fields)
79 spec2_fields = dict(a=T_1_2, b=T_1_2_8, c=R_1_N, d=R_1_N_N, s=spec1)
97 spec1 = StructuredTensorSpec([1, 2, 3], dict(a=T_1_2))
98 self.assertEqual(spec1.value_type, StructuredTensor)
/external/llvm-project/lld/test/ELF/linkerscript/
Dfilename-spec.s29 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/filename-spec1.o
35 # RUN: %/t.dir/filename-spec1.o %/t.dir/filename-spec2.o
40 # RUN: %/t.dir/filename-spec1.o %/t.dir/filename-spec2.o
44 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.testdir1/filename-spec1.o
48 # RUN: llvm-ar rsc %t.testdir1/lib1.a %t.testdir1/filename-spec1.o
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib_type_spec_test.py253 spec1 = iter1._type_spec # Wrapped TensorSpec has shape [None, None]
256 self.assertNotEqual(spec1, spec2)
257 self.assertEqual(spec1, spec1.most_specific_compatible_type(spec2))
258 self.assertEqual(spec1, spec2.most_specific_compatible_type(spec1))
/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor_test.py227 spec1 = sparse_tensor.SparseTensorSpec()
228 self.assertEqual(spec1.shape.rank, None)
229 self.assertEqual(spec1.dtype, dtypes.float32)
236 spec1 = sparse_tensor.SparseTensorSpec()
237 self.assertEqual(spec1.value_type, sparse_tensor.SparseTensor)
Dtype_spec_test.py432 spec1 = TwoTensorsSpec([100], x.dtype, y.shape, y.dtype, "green")
435 spec1._from_tensor_list([x, y]) # shape mismatch
462 spec1 = TwoCompositesSpec(
471 self.assertTrue(spec1.is_compatible_with(spec2))
472 self.assertFalse(spec1.is_compatible_with(spec3))
Dops_test.py526 spec1 = indexed_slices.IndexedSlicesSpec()
527 self.assertEqual(spec1._shape.rank, None)
528 self.assertEqual(spec1._values_dtype, dtypes.float32)
529 self.assertEqual(spec1._indices_dtype, dtypes.int64)
530 self.assertEqual(spec1._dense_shape_dtype, None)
531 self.assertEqual(spec1._indices_shape.as_list(), [None])
542 spec1 = indexed_slices.IndexedSlicesSpec()
543 self.assertEqual(spec1.value_type, ops.IndexedSlices)
631 spec1 = indexed_slices.IndexedSlicesSpec(dense_shape_dtype=dtypes.int32)
632 st1 = spec1._from_components((values, indices, dense_shape))
/external/libxml2/result/relaxng/
Dspec1_err1 ./test/relaxng/spec1.rng validates
/external/kernel-headers/original/uapi/linux/
Dfd.h40 spec1, /* stepping rate, head unload time */ member
259 int spec1; /* spec1 value last used */ member
/external/tensorflow/tensorflow/python/data/util/
Dstructure.py394 def are_compatible(spec1, spec2): argument
409 nest.assert_same_structure(spec1, spec2)
415 for s1, s2 in zip(nest.flatten(spec1), nest.flatten(spec2)):
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_swtcl.c581 radeon_color_t *spec1 = (radeon_color_t *)&((v1)->ui[specoffset]); \
582 spec0->red = spec1->red; \
583 spec0->green = spec1->green; \
584 spec0->blue = spec1->blue; \
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c460 radeon_color_t *spec1 = (radeon_color_t *)&((v1)->ui[specoffset]); \
461 spec0->red = spec1->red; \
462 spec0->green = spec1->green; \
463 spec0->blue = spec1->blue; \
/external/python/cpython3/Lib/test/
Dtest_lzma.py1401 spec1 = lzma._decode_filter_properties(
1403 reencoded = lzma._encode_filter_properties(spec1)
1405 self.assertEqual(spec1, spec2)
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp2824 ComputeShaderSpec spec1; in createOpCopyMemoryGroup() local
2836 spec1.assembly = in createOpCopyMemoryGroup()
2878 spec1.inputs.push_back(BufferSp(new Vec4Buffer(inputFloats1))); in createOpCopyMemoryGroup()
2879 spec1.outputs.push_back(BufferSp(new Vec4Buffer(outputFloats1))); in createOpCopyMemoryGroup()
2880 spec1.numWorkGroups = IVec3(numElements, 1, 1); in createOpCopyMemoryGroup()
2882 …ild(new SpvAsmComputeShaderCase(testCtx, "vector", "OpCopyMemory elements of vector type", spec1)); in createOpCopyMemoryGroup()
4610 ComputeShaderSpec spec1; in createOpPhiGroup() local
4655 spec1.assembly = in createOpPhiGroup()
4709 spec1.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in createOpPhiGroup()
4710 spec1.outputs.push_back(BufferSp(new Float32Buffer(outputFloats1))); in createOpPhiGroup()
[all …]
/external/webrtc/media/engine/
Dwebrtc_voice_engine_unittest.cc3805 webrtc::AudioCodecSpec spec1{{"codec1", 48000, 2, {{"param1", "value1"}}}, in TEST() local
3807 spec1.info.allow_comfort_noise = false; in TEST()
3808 spec1.info.supports_network_adaption = true; in TEST()
3809 specs.push_back(spec1); in TEST()
/external/libxml2/
DChangeLog11104 * result/relaxng/spec1* result/relaxng/tutor12_1*
11111 * result/relaxng/spec1* result/relaxng/tutor12_1*: this fixes