MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 3 callersMethodmutable_value
deps/protobuf/src/google/protobuf/map_entry_lite.h:214
↓ 3 callersMethodname
Return the function name
deps/pybind11/include/pybind11/pybind11.h:194
↓ 3 callersMethodneed_compress_const
The utility function is checking whether a const op can be compressed. If ``_is_deprecated = True``, the user is using the ``ct.compr
coremltools/optimize/coreml/_quantization_passes.py:129
↓ 3 callersMethodnewBuilder
()
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/SentinelOuterClass.java:322
↓ 3 callersMethodnewFieldMap
Creates a new instance for mapping FieldDescriptors to their values. The {@link #makeImmutable()} implementation will convert the List values of any r
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:93
↓ 3 callersMethodnewMapEntry
(Message.Builder builder, String name, K key, V value)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapForProto2Test.java:676
↓ 3 callersMethodnewMapEntry
(Message.Builder builder, String name, K key, V value)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapTest.java:799
↓ 3 callersMethodnext
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:639
↓ 3 callersMethodnextBuffer
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:1481
↓ 3 callersFunctionnp_val_to_py_type
Convert numpy val to python primitive equivalent. Ex: Given: val = np.array([True, False]) Returns: (True, False) Given: val = np.array(
coremltools/converters/mil/mil/types/type_mapping.py:561
↓ 3 callersFunctionobj_class_name
deps/pybind11/include/pybind11/pytypes.h:487
↓ 3 callersMethodobjectFieldOffset
(Field field)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:487
↓ 3 callersMethodof
Returns a struct containing the key-value pair.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Structs.java:42
↓ 3 callersMethodomittingInsignificantWhitespace
Create a new {@link Printer} that will omit all insignificant whitespace in the JSON output. This new Printer clones all other configurations from the
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:317
↓ 3 callersFunctionoperator[]
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:242
↓ 3 callersMethodoperator[]
indexable
deps/protobuf/src/google/protobuf/repeated_ptr_field.h:1687
↓ 3 callersMethodpalettize
This method is run during inference time by the forward method of the ``FakePalettize`` class. It calculates the weight from the ``LU
coremltools/optimize/torch/palettization/fake_palettize.py:498
↓ 3 callersMethodparent_fields
deps/protobuf/src/google/protobuf/util/message_differencer_unittest.cc:2382
↓ 3 callersMethodparent_name_key
deps/protobuf/src/google/protobuf/descriptor.cc:224
↓ 3 callersMethodparseDouble
(JsonElement json)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1870
↓ 3 callersMethodparseExceptionPreviousToken
Returns a {@link ParseException} with the line and column numbers of the previous token in the description, suitable for throwing.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1330
↓ 3 callersMethodparseFrom
Parse an {@code UnknownFieldSet} from the given input stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:267
↓ 3 callersMethodparseInt32
Parse a 32-bit signed integer from the text. Unlike the Java standard {@code Integer.parseInt()}, this function recognizes the prefixes "0x" and "0" t
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2531
↓ 3 callersMethodparseInt64
Parse a 64-bit signed integer from the text. Unlike the Java standard {@code Integer.parseInt()}, this function recognizes the prefixes "0x" and "0" t
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2550
↓ 3 callersMethodparsePartialFrom
( T instance, CodedInputStream input, ExtensionRegistryLite extensionRegistry)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:1529
↓ 3 callersMethodparseUInt32
Parse a 32-bit unsigned integer from the text. Unlike the Java standard {@code Integer.parseInt()}, this function recognizes the prefixes "0x" and "0"
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2541
↓ 3 callersMethodparseUInt64
Parse a 64-bit unsigned integer from the text. Unlike the Java standard {@code Integer.parseInt()}, this function recognizes the prefixes "0x" and "0"
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2560
↓ 3 callersMethodparse_from_attr
(self)
coremltools/converters/mil/frontend/tensorflow/parsed_tf_node.py:42
↓ 3 callersFunctionparse_shape
(t)
coremltools/converters/mil/frontend/tensorflow/parse.py:44
↓ 3 callersFunctionparse_type
(t)
coremltools/converters/mil/frontend/tensorflow/parse.py:14
↓ 3 callersMethodpartialHash
Compute the hash across the value bytes starting with the given hash, and return the result. This is used to compute the hash across strings represent
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:1252
↓ 3 callersMethodpartialHash
Helper method for continuously hashing bytes.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:297
↓ 3 callersFunctionpartial_dtype_fmt
()
deps/pybind11/tests/test_numpy_dtypes.py:65
↓ 3 callersMethodpopLimit
The limit passed in is actually the *old* limit, which we returned from * PushLimit(). * * @param integer $byte_limit */
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:351
↓ 3 callersFunctionpopcnt
Return the number of bits set in n, a non-negative integer.
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:451
↓ 3 callersMethodpositionForFieldNumber
(final int number)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5891
↓ 3 callersMethodpredict
Return predictions for the model. Parameters ---------- data: dict[str, value] or list[dict[str, value]]
coremltools/models/_compiled_model.py:192
↓ 3 callersMethodprintField
(final FieldDescriptor field, final Object value, final Appendable output)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:419
↓ 3 callersMethodprintFieldValue
Outputs a textual representation of the value of given field value. @deprecated Use {@code printer().printFieldValue(FieldDescriptor, Object, Appenda
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:229
↓ 3 callersFunctionprint_network_spec
Print the network information summary. Args: mlmodel_spec : the mlmodel spec interface_only : Shows only the input and output of the netw
coremltools/models/neural_network/printer.py:101
↓ 3 callersMethodprocess
(details: Model.Request.Load, resource: URL?)
coremltools/modelrunner/ModelRunner/ModelService.swift:776
↓ 3 callersFunctionprocess_or_validate_features
Puts features into a standard form from a number of different possible forms. The standard form is a list of 2-tuples of (name, datatype) pa
coremltools/models/_feature_management.py:149
↓ 3 callersFunctionptr
Return the underlying ``PyObject *`` pointer
deps/pybind11/include/pybind11/pytypes.h:250
↓ 3 callersMethodpushLimit
Places a limit on the number of bytes that the stream may read, starting * from the current position. Once the stream hits this limit, it will a
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:326
↓ 3 callersFunctionpush_back
! @brief add an object to an array Appends the given element @a val to the end of the JSON value. If the function is called on a JSON nul
deps/nlohmann/json.hpp:22102
↓ 3 callersMethodputByteBigEndian
(Object target, long offset, byte value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:1000
↓ 3 callersMethodputByteLittleEndian
(Object target, long offset, byte value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:1007
↓ 3 callersFunctionpymil_value_at
input x: 1D tensor (vector). return value at index idx: x[idx]. Could specify the name of the returned MIL scalar tensor as well.
coremltools/converters/mil/frontend/_utils.py:29
↓ 3 callersFunctionrand
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:5636
↓ 3 callersFunctionrangeToString
mlmodel/src/DataType.cpp:334
↓ 3 callersMethodreadBoolList
Reads the next field of type {@code BOOL_LIST} or {@code BOOL_LIST_PACKED} and advances the reader to the next field. @param target the list that wil
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:265
↓ 3 callersMethodreadByteArray
Read a {@code bytes} field value from the stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:334
↓ 3 callersMethodreadByteBuffer
Read a {@code bytes} field value from the stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:337
↓ 3 callersMethodreadBytes
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStreamReader.java:243
↓ 3 callersMethodreadBytes
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:309
↓ 3 callersMethodreadDoubleList
Reads the next field of type {@code DOUBLE_LIST} or {@code DOUBLE_LIST_PACKED} and advances the reader to the next field. @param target the list that
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:209
↓ 3 callersMethodreadEnumList
Reads the next field of type {@code ENUM_LIST} or {@code ENUM_LIST_PACKED} and advances the reader to the next field. @param target the list that wil
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:333
↓ 3 callersMethodreadFixed32List
Reads the next field of type {@code FIXED32_LIST} or {@code FIXED32_LIST_PACKED} and advances the reader to the next field. @param target the list th
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:257
↓ 3 callersMethodreadFixed64List
Reads the next field of type {@code FIXED64_LIST} or {@code FIXED64_LIST_PACKED} and advances the reader to the next field. @param target the list th
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:249
↓ 3 callersMethodreadFloatList
Reads the next field of type {@code FLOAT_LIST} or {@code FLOAT_LIST_PACKED} and advances the reader to the next field. @param target the list that w
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:217
↓ 3 callersMethodreadInt32List
Reads the next field of type {@code INT32_LIST} or {@code INT32_LIST_PACKED} and advances the reader to the next field. @param target the list that w
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:241
↓ 3 callersMethodreadInt64List
Reads the next field of type {@code INT64_LIST} or {@code INT64_LIST_PACKED} and advances the reader to the next field. @param target the list that w
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:233
↓ 3 callersMethodreadLittleEndian32
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1618
↓ 3 callersMethodreadLittleEndian64
* Read 64-bit unsigned integer to $var. If the buffer has less than 8 bytes, * return false. Advance buffer with consumed bytes. * @param $v
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:243
↓ 3 callersMethodreadLittleEndian64
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1623
↓ 3 callersMethodreadMessage
(Class<T> clazz, ExtensionRegistryLite extensionRegistry)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStreamReader.java:168
↓ 3 callersMethodreadMessage
(Class<T> clazz, ExtensionRegistryLite extensionRegistry)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:234
↓ 3 callersMethodreadRawVarint64
Read a raw Varint from the stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:366
↓ 3 callersFunctionreadRepeatedNonPrimitive
* Converts all entries of the index array to the template type using the given * read function and return an Array containing those converted values.
deps/protobuf/js/experimental/runtime/kernel/kernel.js:133
↓ 3 callersMethodreadSFixed32List
Reads the next field of type {@code SFIXED32_LIST} or {@code SFIXED32_LIST_PACKED} and advances the reader to the next field. @param target the list
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:341
↓ 3 callersMethodreadSFixed64List
Reads the next field of type {@code SFIXED64_LIST} or {@code SFIXED64_LIST_PACKED} and advances the reader to the next field. @param target the list
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:349
↓ 3 callersMethodreadSInt32List
Reads the next field of type {@code SINT32_LIST} or {@code SINT32_LIST_PACKED} and advances the reader to the next field. @param target the list that
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:357
↓ 3 callersMethodreadSInt64List
Reads the next field of type {@code SINT64_LIST} or {@code SINT64_LIST_PACKED} and advances the reader to the next field. @param target the list that
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:365
↓ 3 callersMethodreadSkipInternal
Internal implementation of read and skip. If b != null, then read the next {@code length} bytes into the buffer {@code b} at offset {@code offset}. If
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:882
↓ 3 callersMethodreadStringInternal
(boolean requireUtf8)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:218
↓ 3 callersMethodreadStringRequireUtf8
Reads and returns the next field of type {@code STRING} and advances the reader to the next field. If the stream contains malformed UTF-8, throw excep
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:135
↓ 3 callersMethodreadTag
* Read tag into $var. Advance buffer with consumed bytes. * @param $var. */
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:266
↓ 3 callersMethodreadUInt32List
Reads the next field of type {@code UINT32_LIST} or {@code UINT32_LIST_PACKED} and advances the reader to the next field. @param target the list that
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:325
↓ 3 callersMethodreadUInt64List
Reads the next field of type {@code UINT64_LIST} or {@code UINT64_LIST_PACKED} and advances the reader to the next field. @param target the list that
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:225
↓ 3 callersMethodready
Returns ``True`` if quantization parameters have been computed.
coremltools/optimize/torch/layerwise_compression/_quant.py:207
↓ 3 callersMethodremove
(Object key)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:328
↓ 3 callersMethodremoveItem
modelpackage/src/ModelPackage.cpp:509
↓ 3 callersFunctionremove_redundant_transposes
Removes layers from model specification that are back to back transposes that compose to the identity.
coremltools/converters/mil/backend/nn/passes/mlmodel_passes.py:283
↓ 3 callersFunctionrep
Return pointer to the Rep struct. pre-condition: the Rep must have been allocated, ie elements() is safe.
deps/protobuf/src/google/protobuf/repeated_field.h:367
↓ 3 callersMethodreplaceBuilders
( SmallSortedMap<T, Object> fieldMap)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:956
↓ 3 callersFunctionreplace_source
(g, source, dest, new_source)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:25
↓ 3 callersMethodreport
(self)
coremltools/test/optimize/torch/test_base_optimizer.py:47
↓ 3 callersMethodreserved_name_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9895
↓ 3 callersFunctionreset
reset token_buffer; current character is beginning of token
deps/nlohmann/json.hpp:7520
↓ 3 callersMethodretrieve_compute_plan
Asynchronously retrieves the compute plan for the loaded ``MLModel``.
coremltools/models/ml_program/experimental/async_wrapper.py:121
↓ 3 callersMethodreturn_pyobject_ptr
(self)
deps/pybind11/tests/test_type_caster_pyobject_ptr.py:111
↓ 3 callersFunctionruby_to_FileDescriptor
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:440
↓ 3 callersFunctionruby_to_OneofDescriptor
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:905
↓ 3 callersFunctionsafe_strto32
deps/protobuf/src/google/protobuf/stubs/strutil.h:404
↓ 3 callersMethodsanitize_block
Sanitize the vars and op names inside the block to adhere to the format [a-zA-Z_][a-zA-Z0-9_]*
coremltools/converters/mil/mil/passes/defs/preprocess.py:203
↓ 3 callersMethodserialize
* Serializes into binary data. * @return {!ArrayBuffer}
deps/protobuf/js/experimental/runtime/kernel/conformance/test_all_types_proto2.js:304
↓ 3 callersMethodserializeExtension
Serializes one extension entry.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionSchema.java:74
↓ 3 callersMethodservice_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:8913
↓ 3 callersMethodset
(int index, String s)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:137
↓ 3 callersMethodsetAlwaysUseFieldBuildersForTesting
For testing. Allows a test to disable/re-enable the optimization that avoids using field builders for nested messages until they are requested. By dis
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:120
← previousnext →4,601–4,700 of 41,379, ranked by callers