Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/packages/modules/NeuralNetworks/tools/test_generator/
DREADME.md20 For example,
66 For example,
84 The combination of inputs and expected outputs is called an example for a given model. An example i…
101 # Instantiate an example
105 …nstantiated model. You can explicitly specify the target model, and optionally, the example name by
113 You can add variations to the example so that the test generator can automatically create multiple …
155 …ertain axis, such as L2_NORMALIZATION, SOFTMAX, and CHANNEL_SHUFFLE. For example, consider L2_NORM…
167 Consider the same L2_NORMALIZATION example, we can also create a new model with input/output of 2D …
173 … the converter will do transposition first and then remove the axis. For example, the following co…
201 #### Add variation to example
[all …]
Dexample_generator.py45 tg.FileNames.InitializeFileLists(args.spec, args.example)
141 def GetModelStruct(example): argument
144 "main": GetSubgraphStruct(example.model),
145 "referenced": [GetSubgraphStruct(model) for model in example.model.GetReferencedModels()],
146 "isRelaxed": example.model.isRelaxed,
148 example.expectedMultinomialDistributionTolerance,
149 "expectFailure": example.expectFailure,
151 example.model.version if example.model.version is not None else "UNKNOWN"),
154 def DumpExample(example, example_fd): argument
155 assert example.model.compiled
[all …]
Dspec_visualizer.py105 def GetSubgraph(example): argument
119 for op in example.model.operations:
147 for ind, op in enumerate(example.model.operations):
167 for ind, op in enumerate(example.model.operands):
182 def GetConfigurationsInfo(example): argument
184 "relaxed": str(example.model.isRelaxed),
186 "expect failure": str(example.expectFailure),
190 def GetOperandsInfo(example): argument
192 for index, op in enumerate(example.model.operands):
204 def GetOperationsInfo(example): argument
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dif_no_value.mod.py44 example = Example({x: x_data, y: y_data, z: y_data})
45 example.AddVariations("relaxed", "float16", "int32", quant8, quant8_signed)
46 example.DisableLifeTimeVariation()
47 example.AddVariations(AllTensorsAsInputsConverter())
48 example.ExpectFailure()
Ddepthwise_conv2d_quant8_signed.mod.py35 example = Example({ variable
63 example = Example({ variable
92 example = Example({ variable
120 example = Example({ variable
149 example = Example({ variable
401 example = Example({ variable
435 example = Example({ variable
464 example = Example({ variable
493 example = Example({ variable
523 example = Example({ variable
Dwhile_infinite_loop.mod.py57 example = Example({n: [0.0], i_out: [0.0]}, model=model) variable
58 example.AddVariations("relaxed", "float16", quant8, quant8_signed)
59 example.DisableLifeTimeVariation()
60 example.ExpectFailure()
Dconv2d_quant8_signed.mod.py35 example = Example({ variable
57 example = Example({ variable
86 example = Example({ variable
108 example = Example({ variable
138 example = Example({ variable
231 example = Example({ variable
259 example = Example({ variable
287 example = Example({ variable
321 example = Example({ variable
343 example = Example({ variable
Dspace_to_batch_quant8_signed.mod.py150 example = Example({ variable
168 example = Example({ variable
187 example = Example({ variable
207 example = Example({ variable
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_parameter/
Dstdout.txt.expect48 // Begin of an example
68 }, // End of an example
69 // Begin of an example
89 }, // End of an example
130 // Begin of an example
150 }, // End of an example
151 // Begin of an example
171 }, // End of an example
212 // Begin of an example
232 }, // End of an example
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_parameter/
Dstdout.txt.expect85 // Begin of an example
105 }, // End of an example
106 // Begin of an example
126 }, // End of an example
208 // Begin of an example
228 }, // End of an example
229 // Begin of an example
249 }, // End of an example
331 // Begin of an example
351 }, // End of an example
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dconv2d_v1_2.mod.py41 example = Example({ variable
69 example = Example({ variable
97 example = Example({ variable
131 example = Example({ variable
152 example = Example({ variable
160 example = Example({ variable
178 example = Example({ variable
186 example = Example({ variable
205 example = Example({ variable
Ddepthwise_conv2d_dilation.mod.py35 example = Example({ variable
62 example = Example({ variable
90 example = Example({ variable
117 example = Example({ variable
144 example = Example({ variable
Dconv2d_dilation.mod.py35 example = Example({ variable
57 example = Example({ variable
86 example = Example({ variable
108 example = Example({ variable
138 example = Example({ variable
Dspace_to_batch_v1_2.mod.py32 example = Example({ variable
50 example = Example({ variable
69 example = Example({ variable
89 example = Example({ variable
Ddepthwise_conv2d_v1_2.mod.py47 example = Example({ variable
80 example = Example({ variable
108 example = Example({ variable
136 example = Example({ variable
164 example = Example({ variable
Dcast.mod.py56 example = Example({ variable
62 example.AddRelaxed()
93 example = Example({ variable
99 example.AddRelaxed()
Ddepth_to_space_v1_2.mod.py31 example = Example({ variable
49 example = Example({ variable
67 example = Example({ variable
Dspace_to_depth_v1_2.mod.py31 example = Example({ variable
49 example = Example({ variable
67 example = Example({ variable
/packages/modules/Virtualization/vmbase/
DREADME.md19 The [example](example/) subdirectory contains an example of how to use it for a VM bootloader.
76 must use the C ABI, and have the expected names. For example, to log sync exceptions and reboot:
102 any stack allocation. This is why the example above uses `emergency_write_str` first to ensure that
105 See [example/src/exceptions.rs](examples/src/exceptions.rs) for a complete example.
112 region. See the [example/idmap.S](example/idmap.S) for an example of how this can be constructed.
116 [example/image.ld](example/image.ld). The key part is the regions provided to be used for the image
/packages/modules/NeuralNetworks/runtime/test/
DAndroid.bp505 "generated/spec_AIDL_V*/*.example.cpp",
506 "generated/spec_V1_*/*.example.cpp",
511 "generated/spec_AIDL_V*/*.example.cpp",
512 "generated/spec_V1_*/*.example.cpp",
579 srcs: ["generated/spec_V1_0/*.example.cpp"],
585 srcs: ["generated/spec_V1_1/*.example.cpp"],
591 srcs: ["generated/spec_V1_2/*.example.cpp"],
597 srcs: ["generated/spec_V1_3/*.example.cpp"],
603 srcs: ["generated/spec_AIDL_V2/*.example.cpp"],
609 srcs: ["generated/spec_AIDL_V3/*.example.cpp"],
[all …]
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DSampleExampleStoreService.java31 import org.tensorflow.example.BytesList;
32 import org.tensorflow.example.Example;
33 import org.tensorflow.example.Feature;
34 import org.tensorflow.example.Features;
/packages/modules/OnDevicePersonalization/federatedcompute/jni/cpp/
Dexample_iterator_wrapper_impl.cc85 ScopedLocalRef<jbyteArray> example( in Next() local
89 FCP_CHECK(example.get() != nullptr); in Next()
91 int result_size = env->GetArrayLength(example.get()); in Next()
96 MoreJniUtil::JByteArrayToString(env, example.get()); in Next()
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_variation/
Dstdout.txt.expect60 // Begin of an example
80 }, // End of an example
135 // Begin of an example
155 }, // End of an example
212 // Begin of an example
232 }, // End of an example
287 // Begin of an example
307 }, // End of an example
364 // Begin of an example
384 }, // End of an example
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect60 // Begin of an example
80 }, // End of an example
135 // Begin of an example
155 }, // End of an example
212 // Begin of an example
232 }, // End of an example
287 // Begin of an example
307 }, // End of an example
364 // Begin of an example
384 }, // End of an example
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_naming/
Dstdout.txt.expect60 // Begin of an example
80 }, // End of an example
135 // Begin of an example
155 }, // End of an example
212 // Begin of an example
232 }, // End of an example
287 // Begin of an example
307 }, // End of an example
364 // Begin of an example
384 }, // End of an example
[all …]

12345678910>>...14