Home
last modified time | relevance | path

Searched full:constants (Results 1 – 25 of 6660) sorted by relevance

12345678910>>...267

/external/tensorflow/tensorflow/python/saved_model/
Dconstants.py15 """Constants for SavedModel save and restore operations.
17 The source of truth for these constants is in
18 tensorflow/cc/saved_model/constants.h.
25 from tensorflow.python.saved_model.pywrap_saved_model import constants
29 ASSETS_DIRECTORY = constants.ASSETS_DIRECTORY
33 "saved_model.ASSETS_DIRECTORY", "saved_model.constants.ASSETS_DIRECTORY"
37 EXTRA_ASSETS_DIRECTORY = constants.EXTRA_ASSETS_DIRECTORY
40 ASSETS_KEY = constants.ASSETS_KEY
44 "saved_model.constants.ASSETS_KEY"]).export_constant(
48 LEGACY_INIT_OP_KEY = constants.LEGACY_INIT_OP_KEY
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp21 #include "source/opt/constants.h"
32 // Constants whose values are determined and do not depend on OpUndef in Process()
35 // Constants later. in Process()
36 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process()
37 // all of their components are Normal Constants, they will be turned into in Process()
38 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process()
39 // instructions, we check if they only depends on Normal Constants and fold in Process()
40 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process()
42 // Normal Constants generated from folding can be used to fold following Spec in Process()
43 // Constants. in Process()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp21 #include "source/opt/constants.h"
32 // Constants whose values are determined and do not depend on OpUndef in Process()
35 // Constants later. in Process()
36 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process()
37 // all of their components are Normal Constants, they will be turned into in Process()
38 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process()
39 // instructions, we check if they only depends on Normal Constants and fold in Process()
40 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process()
42 // Normal Constants generated from folding can be used to fold following Spec in Process()
43 // Constants. in Process()
[all …]
Dconst_folding_rules.cpp25 // Returns a constants with the value NaN of the given type. Only works for
45 // Returns a constants with the value INF of the given type. Only works for
75 // Returns a constants with the value |-val| of the given type. Only works for
95 const std::vector<const analysis::Constant*>& constants) in FoldExtractWithConstants()
97 const analysis::Constant* c = constants[kExtractCompositeIdInIdx]; in FoldExtractWithConstants()
125 const std::vector<const analysis::Constant*>& constants) in FoldVectorShuffleWithConstants()
128 const analysis::Constant* c1 = constants[0]; in FoldVectorShuffleWithConstants()
129 const analysis::Constant* c2 = constants[1]; in FoldVectorShuffleWithConstants()
181 const std::vector<const analysis::Constant*>& constants) in FoldVectorTimesScalar()
193 const analysis::Constant* c1 = constants[0]; in FoldVectorTimesScalar()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp21 #include "source/opt/constants.h"
32 // Constants whose values are determined and do not depend on OpUndef in Process()
35 // Constants later. in Process()
36 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process()
37 // all of their components are Normal Constants, they will be turned into in Process()
38 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process()
39 // instructions, we check if they only depends on Normal Constants and fold in Process()
40 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process()
42 // Normal Constants generated from folding can be used to fold following Spec in Process()
43 // Constants. in Process()
[all …]
Dconst_folding_rules.cpp25 // Returns a constants with the value NaN of the given type. Only works for
45 // Returns a constants with the value INF of the given type. Only works for
75 // Returns a constants with the value |-val| of the given type. Only works for
95 const std::vector<const analysis::Constant*>& constants) in FoldExtractWithConstants()
97 const analysis::Constant* c = constants[kExtractCompositeIdInIdx]; in FoldExtractWithConstants()
125 const std::vector<const analysis::Constant*>& constants) in FoldVectorShuffleWithConstants()
128 const analysis::Constant* c1 = constants[0]; in FoldVectorShuffleWithConstants()
129 const analysis::Constant* c2 = constants[1]; in FoldVectorShuffleWithConstants()
181 const std::vector<const analysis::Constant*>& constants) in FoldVectorTimesScalar()
193 const analysis::Constant* c1 = constants[0]; in FoldVectorTimesScalar()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemComment.java43 * @see org.apache.xalan.templates.Constants
49 return Constants.ELEMNAME_COMMENT; in getXSLToken()
59 return Constants.ELEMNAME_COMMENT_STRING; in getNodeName()
112 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
113 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
114 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
115 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
116 case Constants.ELEMNAME_FOREACH : in appendChild()
117 case Constants.ELEMNAME_VALUEOF : in appendChild()
118 case Constants.ELEMNAME_COPY_OF : in appendChild()
[all …]
DElemPI.java95 * @see org.apache.xalan.templates.Constants
101 return Constants.ELEMNAME_PI; in getXSLToken()
111 return Constants.ELEMNAME_PI_STRING; in getNodeName()
141 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute()
151 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute()
193 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
194 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
195 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
196 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
197 case Constants.ELEMNAME_FOREACH : in appendChild()
[all …]
DElemAttribute.java53 * @see org.apache.xalan.templates.Constants
59 return Constants.ELEMNAME_ATTRIBUTE; in getXSLToken()
69 return Constants.ELEMNAME_ATTRIBUTE_STRING; in getNodeName()
231 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
232 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
233 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
234 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
235 case Constants.ELEMNAME_FOREACH : in appendChild()
236 case Constants.ELEMNAME_VALUEOF : in appendChild()
237 case Constants.ELEMNAME_COPY_OF : in appendChild()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c70 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants() local
74 if (!c->Program.Constants.Count) { in rc_remove_unused_constants()
79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants()
80 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants()
85 /* Pass 1: Mark used constants. */ in rc_remove_unused_constants()
94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants()
95 if (constants[i].Type == RC_CONSTANT_EXTERNAL) in rc_remove_unused_constants()
99 /* Pass 3: Make the remapping table and remap constants. in rc_remove_unused_constants()
100 * This pass removes unused constants simply by overwriting them by other constants. */ in rc_remove_unused_constants()
101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
[all …]
Dradeon_code.c42 * Copy a constants structure, assuming that the destination structure
47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
55 free(c->Constants); in rc_constants_destroy()
71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add()
73 free(c->Constants); in rc_constants_add()
74 c->Constants = newlist; in rc_constants_add()
77 c->Constants[index] = *constant; in rc_constants_add()
93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { in rc_constants_add_state()
94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state()
[all …]
/external/kernel-headers/original/uapi/linux/
Dethtool_netlink.h53 /* add new constants above here */
98 /* add new constants above here */
122 /* add new constants above here */
135 /* add new constants above here */
144 /* add new constants above here */
157 /* add new constants above here */
169 /* add new constants above here */
178 /* add new constants above here */
189 /* add new constants above here */
198 /* add new constants above here */
[all …]
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp17 #include "Constants.hpp"
50 constants = device + OFFSET(vk::Device, constants); in generate()
132 clipFlags = Pointer<Int>(constants + OFFSET(Constants, maxX))[SignMask(maxX)]; in computeClipFlags()
133 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxY))[SignMask(maxY)]; in computeClipFlags()
134 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minX))[SignMask(minX)]; in computeClipFlags()
135 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minY))[SignMask(minY)]; in computeClipFlags()
140 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxZ))[SignMask(maxZ)]; in computeClipFlags()
141 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minZ))[SignMask(minZ)]; in computeClipFlags()
150 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, fini))[SignMask(finiteXYZ)]; in computeClipFlags()
258 if(componentCount >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream()
[all …]
DPixelRoutine.cpp17 #include "Constants.hpp"
108 x -= *Pointer<Float4>(constants + OFFSET(Constants, X) + q * sizeof(float4)); in quad()
153 XXXX += *Pointer<Float4>(constants + OFFSET(Constants, sampleX[q]) + 16 * cMask[q]); in quad()
154 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad()
155 WWWW += *Pointer<Float4>(constants + OFFSET(Constants, weight) + 16 * cMask[q]); in quad()
194 xxxx += Constants::SampleLocationsX[samples[0]]; in quad()
195 yyyy += Constants::SampleLocationsY[samples[0]]; in quad()
697 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + zMask * 16, 1… in writeDepth32F()
698 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + … in writeDepth32F()
725 Z = Z & *Pointer<Short4>(constants + OFFSET(Constants, maskW4Q) + zMask * 8, 8); in writeDepth16()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java42 * constants via `addXXX' methods, `addString', `addClass',
47 * Constants.MAX_SHORT entries. Note that the first (0) is used by the
48 * JVM and that Double and Long constants need two slots.
67 protected Constant[] constants; field in ConstantPoolGen
92 * Initialize with given array of constants.
94 * @param cs array of given constants, new ones will be appended
100 constants = new Constant[size]; in ConstantPoolGen()
102 System.arraycopy(cs, 0, constants, 0, cs.length); in ConstantPoolGen()
109 final Constant c = constants[i]; in ConstantPoolGen()
112 final ConstantUtf8 u8 = (ConstantUtf8) constants[s.getStringIndex()]; in ConstantPoolGen()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTSchema.java25 import org.apache.xalan.templates.Constants;
230 …new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", false, false, false, XSLTAttributeDef.W… in build()
231 "default", Constants.ATTRVAL_STRIP, "preserve", in build()
232 Constants.ATTRVAL_PRESERVE); in build()
236 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", in build()
254 "single", Constants.NUMBERLEVEL_SINGLE, in build()
255 "multiple", Constants.NUMBERLEVEL_MULTI, in build()
256 "any", Constants.NUMBERLEVEL_ANY); in build()
276 "alphabetic", Constants.NUMBERLETTER_ALPHABETIC, in build()
277 "traditional", Constants.NUMBERLETTER_TRADITIONAL); in build()
[all …]
/external/python/cpython2/Doc/library/
Dcarbon.rst61 :mod:`Carbon.Appearance` --- Appearance Manager constants
102 :mod:`Carbon.CarbonEvents` --- Carbon Event Manager constants
107 :synopsis: Constants for the interface to the Carbon Event Manager.
120 :mod:`Carbon.Components` --- Component Manager constants
125 :synopsis: Constants for the interface to the Component Manager.
137 :mod:`Carbon.Controls` --- Control Manager constants
142 :synopsis: Constants for the interface to the Control Manager.
145 :mod:`Carbon.CoreFounation` --- CoreFounation constants
150 :synopsis: Constants for the interface to CoreFoundation.
153 :mod:`Carbon.CoreGraphics` --- CoreGraphics constants
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DJDWPCommands.java29 * This class defines constants for JDWP commands and command sets.
34 * JDWP VirtualMachine Command Set constants.
85 * JDWP ReferenceType Command Set constants.
130 * JDWP ClassType Command Set constants.
146 * JDWP ArrayType Command Set constants.
156 * JDWP InterfaceType Command Set constants.
165 * JDWP Method Command Set constants.
183 * JDWP Field Command Set constants.
191 * JDWP ObjectReference Command Set constants.
218 * JDWP String Command Set constants.
[all …]
/external/apache-commons-bcel/src/examples/
DHelloWorldBuilder.java21 import org.apache.bcel.Constants;
66 "<generated>", Constants.ACC_PUBLIC | in main()
67 Constants.ACC_SUPER, in main()
71 MethodGen mg = new MethodGen(Constants.ACC_STATIC | in main()
72 Constants.ACC_PUBLIC,// access flags in main()
90 … il.append(factory.createFieldAccess("java.lang.System", "in", i_stream, Constants.GETSTATIC)); in main()
95 Constants.INVOKESPECIAL)); in main()
98 Constants.INVOKESPECIAL)); in main()
113 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main()
117 new Type[]{Type.STRING}, Constants.INVOKEVIRTUAL)); in main()
[all …]

12345678910>>...267