Home
last modified time | relevance | path

Searched full:targets (Results 1 – 25 of 4236) sorted by relevance

12345678910>>...170

/external/linux-kselftest/tools/testing/selftests/
DMakefile2 TARGETS = android macro
3 TARGETS += bpf
4 TARGETS += breakpoints
5 TARGETS += capabilities
6 TARGETS += cgroup
7 TARGETS += cpufreq
8 TARGETS += cpu-hotplug
9 TARGETS += efivarfs
10 TARGETS += exec
11 TARGETS += filesystems
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/client/
Deval_metrics.py38 def _top_k(probabilities, targets): argument
39 targets = math_ops.cast(targets, dtypes.int32)
40 if targets.get_shape().ndims > 1:
41 targets = array_ops.squeeze(targets, axis=[1])
42 return metrics.mean(nn.in_top_k(probabilities, targets, k))
46 def _accuracy(predictions, targets, weights=None): argument
48 labels=targets, predictions=predictions, weights=weights)
51 def _r2(probabilities, targets, weights=None): argument
52 targets = math_ops.cast(targets, dtypes.float32)
53 y_mean = math_ops.reduce_mean(targets, 0)
[all …]
/external/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp30 VirtualCallTarget Targets[] = { in TEST() local
35 EXPECT_EQ(2ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
36 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
38 EXPECT_EQ(8ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
39 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
42 EXPECT_EQ(33ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
43 EXPECT_EQ(65ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
45 EXPECT_EQ(40ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
46 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
50 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp30 VirtualCallTarget Targets[] = { in TEST() local
35 EXPECT_EQ(2ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
36 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
38 EXPECT_EQ(8ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
39 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
42 EXPECT_EQ(33ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
43 EXPECT_EQ(65ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
45 EXPECT_EQ(40ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
46 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
50 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_xent_test.py40 def _SigmoidCrossEntropyWithLogits(self, logits, targets): argument
41 assert len(logits) == len(targets)
45 return [-z * log(y) - (1 - z) * log(1 - y) for y, z in zip(pred, targets)]
53 targets = constant_op.constant(y, shape=sizes, dtype=dtype, name="targets")
55 return logits, targets, losses
60 logits, targets, _ = self._Inputs()
62 labels=targets, logits=logits, name="mylogistic")
69 logits, targets, losses = self._Inputs(dtype=dtype)
71 labels=targets, logits=logits)
80 logits, targets, losses = self._Inputs(dtype=dtype, sizes=[2, 2, 2])
[all …]
/external/llvm/lib/Support/
DTargetRegistry.cpp21 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry
34 std::find_if(targets().begin(), targets().end(), in lookupTarget()
37 if (I == targets().end()) { in lookupTarget()
66 // Provide special warning when no targets are initialized. in lookupTarget()
67 if (targets().begin() == targets().end()) { in lookupTarget()
68 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget()
73 auto I = std::find_if(targets().begin(), targets().end(), ArchMatch); in lookupTarget()
75 if (I == targets().end()) { in lookupTarget()
76 Error = "No available targets are compatible with this triple."; in lookupTarget()
80 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTargetRegistry.cpp21 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry
33 auto I = find_if(targets(), in lookupTarget()
36 if (I == targets().end()) { in lookupTarget()
65 // Provide special warning when no targets are initialized. in lookupTarget()
66 if (targets().begin() == targets().end()) { in lookupTarget()
67 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget()
72 auto I = find_if(targets(), ArchMatch); in lookupTarget()
74 if (I == targets().end()) { in lookupTarget()
75 Error = "No available targets are compatible with this triple."; in lookupTarget()
79 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget()
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager.py37 def _eager_loss_fn(outputs, targets, loss_fn, output_name): argument
39 loss = loss_fn(targets, outputs)
43 def _eager_metrics_fn(model, outputs, targets, sample_weights=None, masks=None): argument
49 targets: The predictions or targets of the given model.
57 targets = nest.flatten(targets)
60 outputs, targets=targets, sample_weights=sample_weights, masks=masks)
66 targets, argument
76 targets: List of target arrays.
110 targets = nest.flatten(targets)
139 weighted_losses = loss_fn(targets[i], outs[i], sample_weight=weights)
[all …]
/external/mesa3d/src/gallium/
DMakefile.am137 ## Gallium state trackers and their users (targets)
142 SUBDIRS += targets/pipe-loader
146 SUBDIRS += state_trackers/clover targets/opencl
150 SUBDIRS += state_trackers/dri targets/dri
154 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib
158 SUBDIRS += state_trackers/omx_bellagio targets/omx-bellagio
162 SUBDIRS += state_trackers/osmesa targets/osmesa
166 SUBDIRS += state_trackers/va targets/va
170 SUBDIRS += state_trackers/vdpau targets/vdpau
174 SUBDIRS += state_trackers/xa targets/xa
[all …]
/external/grpc-grpc/tools/run_tests/
Dtask_runner.py30 _TARGETS += artifact_targets.targets()
31 _TARGETS += distribtest_targets.targets()
32 _TARGETS += package_targets.targets()
42 label_build_map['all'] = [t for t in _TARGETS] # to build all targets
57 argp = argparse.ArgumentParser(description='Runs build/test targets.')
71 help='Filter targets to build with AND semantics.')
78 # Figure out which targets to build
79 targets = [] variable
81 targets += _BUILD_MAP[label]
83 # Among targets selected by -b, filter out those that don't match the filter
[all …]
/external/google-breakpad/src/testing/gtest/codegear/
Dgtest.groupproj18 <MSBuild Projects="gtest.cbproj" Targets="" />
21 <MSBuild Projects="gtest.cbproj" Targets="Clean" />
24 <MSBuild Projects="gtest.cbproj" Targets="Make" />
27 <MSBuild Projects="gtest_main.cbproj" Targets="" />
30 <MSBuild Projects="gtest_main.cbproj" Targets="Clean" />
33 <MSBuild Projects="gtest_main.cbproj" Targets="Make" />
36 <MSBuild Projects="gtest_unittest.cbproj" Targets="" />
39 <MSBuild Projects="gtest_unittest.cbproj" Targets="Clean" />
42 <MSBuild Projects="gtest_unittest.cbproj" Targets="Make" />
45 <CallTarget Targets="gtest;gtest_main;gtest_unittest" />
[all …]
/external/googletest/googletest/codegear/
Dgtest.groupproj18 <MSBuild Projects="gtest.cbproj" Targets="" />
21 <MSBuild Projects="gtest.cbproj" Targets="Clean" />
24 <MSBuild Projects="gtest.cbproj" Targets="Make" />
27 <MSBuild Projects="gtest_main.cbproj" Targets="" />
30 <MSBuild Projects="gtest_main.cbproj" Targets="Clean" />
33 <MSBuild Projects="gtest_main.cbproj" Targets="Make" />
36 <MSBuild Projects="gtest_unittest.cbproj" Targets="" />
39 <MSBuild Projects="gtest_unittest.cbproj" Targets="Clean" />
42 <MSBuild Projects="gtest_unittest.cbproj" Targets="Make" />
45 <CallTarget Targets="gtest;gtest_main;gtest_unittest" />
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DSWITCH.java30 private InstructionHandle[] targets; field in SWITCH
46 * @param targets the instructions to be branched to for each case
50 …public SWITCH(final int[] match, final InstructionHandle[] targets, final InstructionHandle target… in SWITCH() argument
52 this.targets = targets.clone(); in SWITCH()
54 instruction = new TABLESWITCH(match, targets, target); in SWITCH()
59 instruction = new TABLESWITCH(this.match, this.targets, target); in SWITCH()
61 instruction = new LOOKUPSWITCH(this.match, this.targets, target); in SWITCH()
67 …public SWITCH(final int[] match, final InstructionHandle[] targets, final InstructionHandle target… in SWITCH() argument
68 this(match, targets, target, 1); in SWITCH()
78 t_vec[0] = targets[0]; in fillup()
[all …]
DSelect.java54 …protected InstructionHandle[] targets; // target objects in instruction list TODO could be package… field in Select
85 * `Match' and `targets' must have the same length of course.
88 * @param targets instruction targets
91 …Select(final short opcode, final int[] match, final InstructionHandle[] targets, final Instruction… in Select() argument
95 this.targets = targets; in Select()
98 for (final InstructionHandle target2 : targets) { in Select()
101 if ((match_length = match.length) != targets.length) { in Select()
103 match.length + " Target length: " + targets.length); in Select()
172 if (targets[i] != null) { in toString()
173 s = targets[i].getInstruction().toString(); in toString()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DTargetRegistry.cpp28 // Provide special warning when no targets are initialized. in lookupTarget()
30 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget()
47 Error = "No available targets are compatible with this triple, " in lookupTarget()
48 "see -version for the available targets."; in lookupTarget()
53 // good best targets. in lookupTarget()
55 Error = std::string("Cannot choose between targets \"") + in lookupTarget()
76 // Add to the list of targets. in RegisterTarget()
103 std::vector<std::pair<StringRef, const Target*> > Targets; in printRegisteredTargetsForVersion() local
108 Targets.push_back(std::make_pair(I->getName(), &*I)); in printRegisteredTargetsForVersion()
109 Width = std::max(Width, Targets.back().first.size()); in printRegisteredTargetsForVersion()
[all …]
/external/llvm/test/MC/MachO/ARM/
Dversion-min-diagnostics2.s7 …ion-min-diagnostics2.s:[[@LINE-1]]:1: warning: .ios_version_min should only be used for ios targets
8 …ion-min-diagnostics2.s:[[@LINE-2]]:1: warning: .ios_version_min should only be used for ios targets
9 …ion-min-diagnostics2.s:[[@LINE-3]]:1: warning: .ios_version_min should only be used for ios targets
10 // IOS-NOT: warning: .ios_version_min should only be used for ios targets
13 …n-diagnostics2.s:[[@LINE-1]]:1: warning: .macosx_version_min should only be used for macosx targets
14 …n-diagnostics2.s:[[@LINE-2]]:1: warning: .macosx_version_min should only be used for macosx targets
15 …n-diagnostics2.s:[[@LINE-3]]:1: warning: .macosx_version_min should only be used for macosx targets
16 // MACOSX-NOT: warning: .macosx_version_min should only be used for macosx targets
21 …n-min-diagnostics2.s:[[@LINE-1]]:1: warning: .tvos_version_min should only be used for tvos targets
22 …n-min-diagnostics2.s:[[@LINE-2]]:1: warning: .tvos_version_min should only be used for tvos targets
[all …]
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dloss_test.py44 targets = [
48 self.targets = array_ops.stack(targets, axis=1)
54 # expected_loss = sparse_softmax_cross_entropy_with_logits(targets, logits)
55 # where targets = [0, 1, 2], and logits = [[0.5] * 5, [1.5] * 5, [2.5] * 5]
62 self.logits, self.targets, self.weights,
69 self.logits, self.targets, self.weights,
77 self.logits, self.targets, self.weights,
85 self.logits, self.targets, self.weights,
101 self.targets, self.logits, self.weights)
110 self.targets, self.logits, self.weights)
[all …]
/external/v8/tools/dev/
Dgm.py41 # Build targets that can be manually specified.
42 TARGETS = ["d8", "cctest", "unittests", "v8_fuzzers", "mkgrokdump", variable
44 # Build targets that get built when you don't specify any (and specified tests
45 # don't imply any other targets).
54 "all": {"targets": BUILD_TARGETS_ALL, "tests": []},
55 "tests": {"targets": BUILD_TARGETS_TEST, "tests": []},
56 "check": {"targets": BUILD_TARGETS_TEST, "tests": DEFAULT_TESTS},
57 "checkall": {"targets": BUILD_TARGETS_ALL, "tests": ["ALL"]},
206 def __init__(self, arch, mode, targets, tests=[]): argument
209 self.targets = set(targets)
[all …]
/external/libaom/libaom/build/cmake/
Diosbuild.sh39 TARGETS="${ARM_TARGETS} ${SIM_TARGETS}"
98 # $1 is the list of targets.
100 local targets="$1"
125 for target in ${targets}; do
151 # lipo -info outputs i386 for libaom x86 targets.
173 elog "Actual ${FRAMEWORK_LIB} targets do not match requested target list."
184 local targets="$1"
197 for target in ${targets}; do
219 create_aom_framework_config_shim "${targets}"
236 # Confirm AOM.framework/AOM contains the targets requested.
[all …]
/external/libvpx/libvpx/build/make/
Diosbuild.sh40 TARGETS="${ARM_TARGETS} ${SIM_TARGETS}"
98 # $1 is the list of targets.
100 local targets="$1"
124 for target in ${targets}; do
151 # lipo -info outputs i386 for libvpx x86 targets.
173 elog "Actual ${FRAMEWORK_LIB} targets do not match requested target list."
184 local targets="$1"
197 for target in ${targets}; do
219 create_vpx_framework_config_shim "${targets}"
236 # Confirm VPX.framework/VPX contains the targets requested.
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_xformfb.c54 struct pipe_stream_output_target *targets[PIPE_MAX_SO_BUFFERS]; member
57 * It contains stream output targets from the last call of
94 /* Unreference targets. */ in st_delete_transform_feedback()
96 pipe_so_target_reference(&sobj->targets[i], NULL); in st_delete_transform_feedback()
120 ARRAY_SIZE(sobj->targets)); in st_begin_transform_feedback()
131 if (!sobj->targets[i] || in st_begin_transform_feedback()
132 sobj->targets[i] == sobj->draw_count[stream] || in st_begin_transform_feedback()
133 sobj->targets[i]->buffer != bo->buffer || in st_begin_transform_feedback()
134 sobj->targets[i]->buffer_offset != sobj->base.Offset[i] || in st_begin_transform_feedback()
135 sobj->targets[i]->buffer_size != sobj->base.Size[i]) { in st_begin_transform_feedback()
[all …]
/external/v8/tools/mb/docs/
Ddesign_spec.md20 and a list of targets to build and returns which targets are affected by
73 output to match the list of targets.
99 targets affected by the patch, so that we don't blame or punish the
108 those are mapped onto build targets. For some kinds of tests (like
116 and forth between test steps and build targets. That mapping
120 3. We might also want to know when test targets are affected by data files
124 4. We also want to ensure that particular targets still compile even if they
126 targets that don't yet have good test coverage. We might want to use meta
127 targets for this purpose as well.
129 5. However, for some meta targets, we don't necessarily want to rebuild the
[all …]
/external/llvm/tools/msbuild/
Duninstall.bat17 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets
21 IF EXIST %D%\LLVM-vs2010 del %D%\LLVM-vs2010\Microsoft.Cpp.%PLATFORM%.LLVM-vs2010.targets
26 IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.targets
29 IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.targets
33 IF EXIST %D%\LLVM-vs2012 del %D%\LLVM-vs2012\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012.targets
36 IF EXIST %D%\LLVM-vs2012_xp del %D%\LLVM-vs2012_xp\Microsoft.Cpp.%PLATFORM%.LLVM-vs2012_xp.targets
41 IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.targets
44 IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.targets
48 IF EXIST %D%\LLVM-vs2013 del %D%\LLVM-vs2013\toolset.targets
51 IF EXIST %D%\LLVM-vs2013_xp del %D%\LLVM-vs2013_xp\toolset.targets
[all …]
/external/llvm/test/ExecutionEngine/MCJIT/
Dlit.local.cfg2 targets = root.targets
3 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
4 ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
/external/swiftshader/third_party/llvm-7.0/llvm/test/ExecutionEngine/MCJIT/
Dlit.local.cfg2 targets = root.targets
3 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
4 ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):

12345678910>>...170