Searched refs:options1 (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | options_test.py | 48 options1 = dataset_ops.Options() 49 options1.experimental_optimization.autotune = True 52 ds = dataset_ops.Dataset.range(0).with_options(options1).with_options( 59 options1 = dataset_ops.Options() 60 options1.experimental_optimization.autotune = True 65 dataset_ops.Dataset.range(0).with_options(options1).with_options(options2) 68 options1 = dataset_ops.Options() 69 options1.experimental_optimization.autotune = True 73 (dataset_ops.Dataset.range(0).with_options(options1), 79 options1 = dataset_ops.Options() [all …]
|
/external/tensorflow/tensorflow/python/data/util/ |
D | options_test.py | 62 options1, options2 = _TestOptions(), _TestOptions() 65 merged_options = options.merge_options(options1, options2) 68 options1.x = 0 70 merged_options = options.merge_options(options1, options2) 75 options1, options2 = _NestedTestOptions(), _NestedTestOptions() 76 merged_options = options.merge_options(options1, options2) 78 options1.opts = _TestOptions() 79 merged_options = options.merge_options(options1, options2) 82 merged_options = options.merge_options(options1, options2) 84 options1.opts.x = 0 [all …]
|
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/ |
D | InterpreterOptionsTests.swift | 35 var options1 = InterpreterOptions() in testInterpreterOptions_Equatable() variable 37 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable() 39 options1.threadCount = 2 in testInterpreterOptions_Equatable() 41 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable() 44 XCTAssertNotEqual(options1, options2) in testInterpreterOptions_Equatable() 47 options1.isErrorLoggingEnabled = true in testInterpreterOptions_Equatable() 49 XCTAssertEqual(options1, options2) in testInterpreterOptions_Equatable() 52 XCTAssertNotEqual(options1, options2) in testInterpreterOptions_Equatable()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_flags_test.cc | 35 static const char *options1 = variable 143 test_default_options = options1; in TEST() 155 InitializeFlags(&f, options1); in TEST() 166 InitializeFlags(&f, options1); in TEST() 169 test_default_options = options1; in TEST()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | CallOptionsTest.java | 112 CallOptions options1 = CallOptions.DEFAULT.withDeadline(deadline); in mutation() local 114 assertThat(deadline).isSameAs(options1.getDeadline()); in mutation() 116 CallOptions options2 = options1.withDeadline(null); in mutation() 117 assertThat(deadline).isSameAs(options1.getDeadline()); in mutation() 124 CallOptions options1 = CallOptions.DEFAULT.withExecutor(executor); in mutateExecutor() local 126 assertThat(executor).isSameAs(options1.getExecutor()); in mutateExecutor() 128 CallOptions options2 = options1.withExecutor(null); in mutateExecutor() 129 assertThat(executor).isSameAs(options1.getExecutor()); in mutateExecutor()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/stub/ |
D | StubConfigTest.java | 86 CallOptions options1 = stub.getCallOptions(); in testStubCallOptionsPopulatedToNewCall() local 89 verify(channel).newCall(same(TestServiceGrpc.getUnaryCallMethod()), same(options1)); in testStubCallOptionsPopulatedToNewCall() 92 assertNotSame(options1, options2); in testStubCallOptionsPopulatedToNewCall()
|