Home
last modified time | relevance | path

Searched refs:options2 (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DInterpreterOptionsTests.swift36 var options2 = InterpreterOptions() in testInterpreterOptions_Equatable() variable
37 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable()
40 options2.threadCount = 2 in testInterpreterOptions_Equatable()
41 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable()
43 options2.threadCount = 3 in testInterpreterOptions_Equatable()
44 XCTAssertNotEqual(options1, options2) in testInterpreterOptions_Equatable()
45 options2.threadCount = 2 in testInterpreterOptions_Equatable()
48 options2.isErrorLoggingEnabled = true in testInterpreterOptions_Equatable()
49 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable()
51 options2.isErrorLoggingEnabled = false in testInterpreterOptions_Equatable()
[all …]
/external/tensorflow/tensorflow/python/data/util/
Doptions_test.py62 options1, options2 = _TestOptions(), _TestOptions()
65 merged_options = options.merge_options(options1, options2)
69 options2.y = 0.0
70 merged_options = options.merge_options(options1, options2)
75 options1, options2 = _NestedTestOptions(), _NestedTestOptions()
76 merged_options = options.merge_options(options1, options2)
79 merged_options = options.merge_options(options1, options2)
81 options2.opts = _TestOptions()
82 merged_options = options.merge_options(options1, options2)
85 options2.opts.y = 0.0
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Doptions_test.py50 options2 = dataset_ops.Options()
51 options2.experimental_deterministic = False
53 options2)
61 options2 = dataset_ops.Options()
62 options2.experimental_optimization.autotune = False
65 dataset_ops.Dataset.range(0).with_options(options1).with_options(options2)
70 options2 = dataset_ops.Options()
71 options2.experimental_deterministic = True
74 dataset_ops.Dataset.range(0).with_options(options2)))
80 options2 = dataset_ops.Options()
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_flags_test.cc60 static const char *options2 = variable
147 test_default_options = options2; in TEST()
158 InitializeFlags(&f, options2); in TEST()
165 test_default_options = options2; in TEST()
170 InitializeFlags(&f, options2); in TEST()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/stub/
DStubConfigTest.java91 CallOptions options2 = stub.getCallOptions(); in testStubCallOptionsPopulatedToNewCall() local
92 assertNotSame(options1, options2); in testStubCallOptionsPopulatedToNewCall()
94 verify(channel).newCall(same(TestServiceGrpc.getUnaryCallMethod()), same(options2)); in testStubCallOptionsPopulatedToNewCall()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeFlowStylesTest.java52 DumperOptions options2 = new DumperOptions(); in testLoadBeanWithBlockFlow() local
53 options2.setDefaultFlowStyle(FlowStyle.AUTO); in testLoadBeanWithBlockFlow()
54 Yaml dumper2 = new Yaml(new JodaTimeRepresenter(), options2); in testLoadBeanWithBlockFlow()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DStrTagTest.java146 DumperOptions options2 = new DumperOptions(); in testEmitQuoted() local
147 options2.setDefaultScalarStyle(ScalarStyle.DOUBLE_QUOTED); in testEmitQuoted()
148 yaml = new Yaml(options2); in testEmitQuoted()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java116 CallOptions options2 = options1.withDeadline(null); in mutation() local
118 assertThat(options2.getDeadline()).isNull(); in mutation()
128 CallOptions options2 = options1.withExecutor(null); in mutateExecutor() local
130 assertThat(options2.getExecutor()).isNull(); in mutateExecutor()
/external/pcre/pcrecpp/
Dpcrecpp_unittest.cc618 RE_Options options2; in Test_CASELESS() local
622 TestOneOption("CASELESS (class2)", "HELLO", "hello", options2.set_caseless(true), false); in Test_CASELESS()
633 RE_Options options2; in Test_MULTILINE() local
638 TestOneOption("MULTILINE (class2)", "^cruel$", str, options2.set_multiline(true), false); in Test_MULTILINE()
646 RE_Options options2; in Test_DOTALL() local
651 TestOneOption("DOTALL (class2)", "HELLO.*world", str, options2.set_dotall(true), true); in Test_DOTALL()
659 RE_Options options2; in Test_DOLLAR_ENDONLY() local
665 …TestOneOption("DOLLAR_ENDONLY 2", "world$", str, options2.set_dollar_endonly(true), false, fals… in Test_DOLLAR_ENDONLY()
670 RE_Options options2; in Test_EXTENDED() local
675 …TestOneOption("EXTENDED (class2)", "HELLO world", str, options2.set_extended(true), false, false… in Test_EXTENDED()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCLDR.java408 public Options(Options options2) { in Options() argument
409 this.options = Arrays.copyOf(options2.options, options2.options.length); in Options()
410 this.key = options2.key; in Options()
1145 …protected CheckCLDR handleGetExamples(String path, String fullPath, String value, Options options2, in handleGetExamples() argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier_test.cc1642 AlgebraicSimplifierOptions options2; in TEST_F() local
1643 options2.set_is_layout_sensitive(true); in TEST_F()
1644 AlgebraicSimplifier simplifier2(options2); in TEST_F()