MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 2 callersMethodequals
Compares the specified object with this message for equality. Returns {@code true} if the given object is a message of the same type (as defined by {@
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:69
↓ 2 callersMethodescapeText
Like {@link #escapeBytes(ByteString)}, but escapes a text string. Non-ASCII characters are first encoded as UTF-8, then each byte is escaped individua
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatEscaper.java:144
↓ 2 callersFunctioneval_file
deps/pybind11/include/pybind11/eval.h:99
↓ 2 callersFunctionexec
(command, cb)
deps/protobuf/js/gulpfile.js:5
↓ 2 callersMethodextend
Extends by appending the given iterable. Similar to list.extend().
deps/protobuf/python/google/protobuf/internal/containers.py:129
↓ 2 callersMethodextra1
deps/pybind11/tests/test_pickling.cpp:74
↓ 2 callersMethodextra2
deps/pybind11/tests/test_pickling.cpp:75
↓ 2 callersFunctionextract_method_call
deps/protobuf/ruby/ext/google/protobuf_c/message.c:212
↓ 2 callersMethodextract_sub_graph
Extract sub-graph based on user-provided outputs.
coremltools/converters/mil/frontend/tensorflow/load.py:102
↓ 2 callersFunctionextreg_key
deps/protobuf/php/ext/google/protobuf/php-upb.c:1800
↓ 2 callersFunctionextreg_key
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1800
↓ 2 callersFunctionfastdecode_err
deps/protobuf/php/ext/google/protobuf/php-upb.c:412
↓ 2 callersFunctionfastdecode_err
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:412
↓ 2 callersFunctionfeatureTypeToString
mlmodel/src/DataType.cpp:117
↓ 2 callersFunctionfetch_attr
Returns attribute within model that corresponds to the input target string.
coremltools/optimize/torch/_utils/transforms.py:98
↓ 2 callersMethodfield
(String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageInfoFactory.java:483
↓ 2 callersMethodfield
(Class<?> clazz, String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto3MessageLiteInfoFactory.java:797
↓ 2 callersMethodfieldDataOnlyByteSize
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1627
↓ 2 callersMethodfieldTypeToRuby
(ThreadContext context, FieldDescriptor.Type type)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/Utils.java:54
↓ 2 callersFunctionfill_outputs
Fills the output lists of of a graph of ParsedNode Takes a graph in "dict{str, ParsedNode}" form, and returns a new graph.
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:187
↓ 2 callersFunctionfill_prefix
deps/protobuf/php/ext/google/protobuf/names.c:132
↓ 2 callersFunctionfill_segment
deps/protobuf/php/ext/google/protobuf/names.c:150
↓ 2 callersMethodfilterMapUnknownEnumValues
( Object message, int pos, UB unknownFields, UnknownFieldSchema<UT, UB> unknownFieldSchema)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5498
↓ 2 callersFunctionfinalize_interpreter
\rst Shut down the Python interpreter. No pybind11 or CPython API functions can be called after this. In addition, pybind11 objects must not o
deps/pybind11/include/pybind11/embed.h:242
↓ 2 callersMethodfind
Find a type by its full name. Returns null if it cannot be found in this {@link TypeRegistry}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TypeRegistry.java:66
↓ 2 callersMethodfindEnumTypeByName
Finds a nested enum type by name. @param name The unqualified name of the nested type (e.g. "Foo"). @return The types's descriptor, or {@code null} i
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:835
↓ 2 callersMethodfindExtensionByName
( ExtensionRegistry registry, String name)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:222
↓ 2 callersMethodfindExtensionByName
Find an extension in the file by name. Does not find extensions nested inside message types. @param name The unqualified extension name to look for.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:262
↓ 2 callersMethodfindMessageTypeByName
Find a message type in the file by name. Does not find nested types. @param name The unqualified type name to look for. @return The message type's de
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:190
↓ 2 callersMethodfindNestedTypeByName
Finds a nested message type by name. @param name The unqualified name of the nested type (e.g. "Foo"). @return The types's descriptor, or {@code null
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:820
↓ 2 callersMethodfind_constants
Given a list of blocks, return all constants in the blocks in such a format: {unique_var_0: [duplicated_var_0_0, duplicated_var_0
coremltools/converters/mil/mil/passes/defs/cleanup/const_deduplication.py:196
↓ 2 callersFunctionfind_target
Finds the module in model which is referenced by the target_name. target_name is in the form of `mod_a.mod_b.mod_c`
coremltools/optimize/torch/quantization/_utils.py:67
↓ 2 callersFunctionfixed32
TODO: proper byte-swapping for big-endian machines.
deps/protobuf/conformance/binary_json_conformance_suite.cc:137
↓ 2 callersFunctionfixed64
deps/protobuf/conformance/binary_json_conformance_suite.cc:138
↓ 2 callersMethodfloatParseException
Constructs an appropriate {@link ParseException} for the given {@code NumberFormatException} when trying to parse a float or double.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1347
↓ 2 callersMethodflush
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2654
↓ 2 callersMethodforCodedOutput
(CodedOutputStream output)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStreamWriter.java:46
↓ 2 callersMethodforMapData
Returns the map data for read.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldSchema.java:40
↓ 2 callersMethodforPackedFieldWithEnumVerifier
( Field field, int fieldNumber, FieldType fieldType, EnumVerifier enumVerifier,
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:156
↓ 2 callersMethodforString
(String str)
deps/protobuf/java/core/src/test/java/com/google/protobuf/NioByteStringTest.java:743
↓ 2 callersMethodformatDuration
($value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:506
↓ 2 callersMethodformatFieldMask
($field_mask)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:551
↓ 2 callersMethodformatNanos
Format the nano part of a timestamp or a duration.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Timestamps.java:471
↓ 2 callersMethodformatTimestamp
($value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:460
↓ 2 callersFunctionfp16_ieee_from_fp32_value
* Convert a 32-bit floating-point number in IEEE single-precision format to a 16-bit floating-point number in * IEEE half-precision format, in bit re
deps/FP16/include/fp16/fp16.h:223
↓ 2 callersMethodfromArrayBufferView
* Constructs a ByteString from any ArrayBufferView (e.g. DataView, * TypedArray, Uint8Array, etc.). * @param {!ArrayBufferView} bytes * @retu
deps/protobuf/js/experimental/runtime/bytestring.js:60
↓ 2 callersMethodfromBase64String
* Constructs a ByteString instance from a base64 string. * @param {string} value * @return {!ByteString}
deps/protobuf/js/experimental/runtime/bytestring.js:35
↓ 2 callersMethodfromByteArray
(byte[] data, Class<T> messageType)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedAdapterTest.java:97
↓ 2 callersMethodfromDateTime
* Converts PHP DateTime to Timestamp. * * @param \DateTime $datetime */
deps/protobuf/php/src/Google/Protobuf/Internal/TimestampBase.php:16
↓ 2 callersMethodfromDecodedValue
* @param {T} decodedValue The cached JS object decoded from the binary data. * @param {function(!Writer, number, T):void|undefined} encoder Write f
deps/protobuf/js/experimental/runtime/kernel/field.js:55
↓ 2 callersMethodfromHexString
* Construct an Int64 from a signed hexadecimal string. * @param {string} value * @return {!Int64}
deps/protobuf/js/experimental/runtime/int64.js:86
↓ 2 callersMethodfromJsonString
Converts a field mask from a Proto3 JSON string, that is splitting the paths along commas and converting from camel case to snake case.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:192
↓ 2 callersMethodfromReflectionType
Convert from the type used by the reflection accessors to the type used by native accessors. E.g., for enums, the reflection accessors use EnumValueD
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1850
↓ 2 callersMethodfromReflectionType
(Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Extension.java:81
↓ 2 callersMethodfromUint8ArrayUnsafe
* Constructs a ByteString from an Uint8Array. DON'T MODIFY the underlying * ArrayBuffer, since the ByteString directly uses it without making a cop
deps/protobuf/js/experimental/runtime/bytestring.js:77
↓ 2 callersMethodfrom_a
(arr)
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:227
↓ 2 callersMethodfrom_array
Create a TensorDescriptor from a numpy array and write the data to a binary file. This static method converts a numpy array into a T
coremltools/models/ml_program/experimental/remote_device.py:1970
↓ 2 callersMethodfrom_asset
Creates a CompiledModel instance from an asset. Parameters ---------- asset: MLModelAsset The model asse
coremltools/models/_compiled_model.py:140
↓ 2 callersMethodfrom_dict
Create class from a dictionary of string keys and values. Args: data_dict (:obj:`dict` of :obj:`str` and values): A nest
coremltools/optimize/torch/_utils/python_utils.py:75
↓ 2 callersMethodfrom_dict
(cls, config_dict: _Dict[str, _Any])
coremltools/optimize/torch/palettization/palettization_config.py:514
↓ 2 callersMethodfrom_float
(cls, mod)
coremltools/optimize/torch/quantization/modules/conv_transpose.py:222
↓ 2 callersMethodfrom_float
(cls, mod: _nn.Module)
coremltools/optimize/torch/quantization/modules/qat_modules.py:61
↓ 2 callersMethodfrom_hash
(hash)
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:187
↓ 2 callersMethodfrom_memory
Create an MLModelAsset instance from in-memory data. Parameters ---------- spec_data : bytes The specifi
coremltools/models/model.py:285
↓ 2 callersMethodfrom_ruby
(value)
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:140
↓ 2 callersMethodfrom_torchscript_node
(cls, node, parent)
coremltools/converters/mil/frontend/torch/internal_graph.py:205
↓ 2 callersMethodfull
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionSchemas.java:50
↓ 2 callersMethodfull_setup_code
(self, setup_method_args='')
deps/protobuf/benchmarks/python/py_benchmark.py:120
↓ 2 callersMethodfunction
The ``mb.function`` decorator creates a MIL function. Parameters ---------- input_specs: List[TensorSpec]
coremltools/converters/mil/mil/builder.py:302
↓ 2 callersFunctionfuse_all_blocks
(ops_arrangement, var_constraints, transform_pattern, prog)
coremltools/converters/mil/experimental/passes/generic_pass_infrastructure.py:199
↓ 2 callersFunctiongc_tester
Tests that an object is garbage collected. Assumes that any unreferenced objects are fully collected after calling `gc.collect()`. That is t
deps/pybind11/tests/test_custom_type_setup.py:13
↓ 2 callersFunctiongenerate_binary_tensor
(shape)
coremltools/test/optimize/torch/quantization/test_observers.py:26
↓ 2 callersFunctiongenerate_proto
Invokes the Protocol Compiler to generate a _pb2.py from the given .proto file. Does nothing if the output already exists and is newer than the i
deps/protobuf/python/setup.py:51
↓ 2 callersMethodgenerate_random_quantization_params
return scale, zero point, axis
coremltools/converters/mil/mil/passes/tests/test_quantization_passes.py:268
↓ 2 callersMethodget
(final GeneratedMessage message)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:2299
↓ 2 callersMethodget
(final GeneratedMessageV3 message)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2275
↓ 2 callersFunctionget32BitVarintLength
* @param {number} value * @return {number}
deps/protobuf/js/experimental/runtime/kernel/tag.js:58
↓ 2 callersMethodgetAllFieldsRaw
Returns a collection of all the fields in this message which are set and their corresponding values. A singular ("required" or "optional") field is s
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:211
↓ 2 callersMethodgetAllFieldsRaw
Returns a collection of all the fields in this message which are set and their corresponding values. A singular ("required" or "optional") field is s
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:251
↓ 2 callersMethodgetAllSetBuilder
Get a {@code TestAllTypes.Builder} with all fields set as they would be by {@link #setAllFields(TestAllTypes.Builder)}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:288
↓ 2 callersMethodgetBigSerializedMessage
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:606
↓ 2 callersMethodgetBoolValue
* Represents a boolean value. * * Generated from protobuf field <code>bool bool_value = 4;</code> * @return bool */
deps/protobuf/php/src/Google/Protobuf/Value.php:148
↓ 2 callersMethodgetBoolWithDefault
* @param {number} fieldNumber * @param {boolean=} defaultValue * @return {boolean}
deps/protobuf/js/experimental/runtime/testing/binary/test_message.js:59
↓ 2 callersMethodgetBooleanBigEndian
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:1014
↓ 2 callersMethodgetBooleanLittleEndian
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:1018
↓ 2 callersMethodgetBuffer
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteBufferWriter.java:136
↓ 2 callersMethodgetBuilder
Gets a builder for the field. If no builder has been created yet, a builder is created on demand by calling {@link Message#toBuilder}. @return The bu
deps/protobuf/java/core/src/main/java/com/google/protobuf/SingleFieldBuilder.java:124
↓ 2 callersMethodgetBuilderFromMessage
Returns a builder for unknown fields in the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:72
↓ 2 callersMethodgetByte
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:528
↓ 2 callersMethodgetByteArray
Returns the element at the specified position in this list as byte[]. @param index index of the element to return @return the element at the specifie
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringList.java:77
↓ 2 callersMethodgetByteString
Returns the element at the specified position in this list as a ByteString. @param index index of the element to return @return the element at the sp
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringList.java:56
↓ 2 callersMethodgetBytesUntilLimit
Returns the number of bytes to be read before the current limit. If no limit is set, returns -1.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:487
↓ 2 callersMethodgetColumn
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseLocation.java:75
↓ 2 callersMethodgetDefaultValue
* The string value of the default value of this field. Proto2 syntax only. * * Generated from protobuf field <code>string default_value = 11
deps/protobuf/php/src/Google/Protobuf/Field.php:360
↓ 2 callersMethodgetDependency
* Names of files imported by this file. * * Generated from protobuf field <code>repeated string dependency = 3;</code> * @return \Googl
deps/protobuf/php/src/Google/Protobuf/Internal/FileDescriptorProto.php:206
↓ 2 callersMethodgetDescriptor
(ThreadContext context, IRubyObject recv)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnum.java:74
↓ 2 callersMethodgetDescriptor
(ThreadContext context, IRubyObject recv)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:457
↓ 2 callersMethodgetDescriptorByProtoName
($proto)
deps/protobuf/php/src/Google/Protobuf/Internal/DescriptorPool.php:133
↓ 2 callersMethodgetDescriptorForType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:155
↓ 2 callersMethodgetDescriptorForTypeUrl
(String typeUrl)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:530
← previousnext →6,301–6,400 of 41,379, ranked by callers