MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 5 callersMethodnext
Returns the next item and advances one {@link com.google.protobuf.ByteString.LeafByteString}. @return next non-empty LeafByteString or {@code null}
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:787
↓ 5 callersMethodno_standard_descriptor_accessor
deps/protobuf/src/google/protobuf/descriptor.pb.h:12945
↓ 5 callersMethodoffset_at
deps/pybind11/include/pybind11/numpy.h:993
↓ 5 callersMethodpacked
deps/protobuf/src/google/protobuf/type.pb.h:1890
↓ 5 callersMethodparse
Parse from RFC 3339 date string to Timestamp. This method accepts all outputs of {@link #toString(Timestamp)} and it also accepts any fractional digit
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Timestamps.java:236
↓ 5 callersMethodparse
Parse from a string to produce a duration. @return A Duration parsed from the string. @throws ParseException if parsing fails.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Durations.java:246
↓ 5 callersMethodparseFieldValue
(FieldDescriptor field, JsonElement json, Message.Builder builder)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1934
↓ 5 callersMethodpath
modelpackage/src/ModelPackage.cpp:545
↓ 5 callersMethodpredict
Asynchronously performs predictions using the loaded ``MLModel``.
coremltools/models/ml_program/experimental/async_wrapper.py:96
↓ 5 callersMethodpresenceMaskAndOffsetAt
(int pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5729
↓ 5 callersMethodprevious
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java:131
↓ 5 callersMethodprintSingleFieldValue
(FieldDescriptor field, Object value)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1127
↓ 5 callersMethodprintUnknownFields
( final UnknownFieldSet unknownFields, final TextGenerator generator)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:750
↓ 5 callersMethodprinter
(message, indent, as_one_line)
deps/protobuf/python/google/protobuf/internal/text_format_test.py:2230
↓ 5 callersFunctionread
deps/protobuf/src/google/protobuf/io/io_win32.cc:349
↓ 5 callersMethodread
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/NioByteString.java:249
↓ 5 callersMethodreadBytes
Read a {@code bytes} field value from the stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:331
↓ 5 callersMethodreadRawBytesSlowPath
Exactly like readRawBytes, but caller must have already checked the fast path: (size <= (bufferSize - pos) && size > 0) If ensureNoLeakedReferences i
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2883
↓ 5 callersMethodreadRawBytesTo
Try to get raw bytes from {@code input} with the size of {@code length} and copy to {@code bytes} array. If the size is bigger than the number of rema
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:3883
↓ 5 callersMethodreadVarint32
* Read uint32 into $var. Advance buffer with consumed bytes. If the * contained varint is larger than 32 bits, discard the high order bits.
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:118
↓ 5 callersMethodreceive
Listens for incoming data - Returns: An AsyncStream of Input values - Throws: ConnectionError if listening fails
coremltools/modelrunner/ModelRunner/Socket.swift:16
↓ 5 callersMethodregister_var_with_name
(self, name, var)
coremltools/converters/mil/frontend/milproto/load.py:52
↓ 5 callersMethodremove
( self, keys: List[K], )
coremltools/models/ml_program/experimental/debugging_utils.py:97
↓ 5 callersMethodremove
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:200
↓ 5 callersFunctionrequires_grad
If the given weights is a torch parameter instance and has requires_grad == True, returns True. Otherwise returns False.
coremltools/optimize/torch/_utils/transforms.py:196
↓ 5 callersMethodreserved_range_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9855
↓ 5 callersMethodretrieve_outputs
Asynchronously retrieve intermediate outputs for the specified output names and inputs. This method inspects the model with given in
coremltools/models/ml_program/experimental/debugging_utils.py:566
↓ 5 callersMethodserializeFieldToStream
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1428
↓ 5 callersMethodsetBoolValue
* Represents a boolean value. * * Generated from protobuf field <code>bool bool_value = 4;</code> * @param bool $var * @return $th
deps/protobuf/php/src/Google/Protobuf/Value.php:165
↓ 5 callersMethodsetBoolean
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:620
↓ 5 callersMethodsetBytes
* Sets a boolean value to the field with the given field number. * @param {number} fieldNumber * @param {!ByteString} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:1872
↓ 5 callersMethodsetCursor
* Sets the cursor to the specified position. * @param {number} position
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:117
↓ 5 callersMethodsetField
Sets a field to the given value. The value must be of the correct type for this field, i.e. the same type that {@link Message#getField(Descriptors.Fie
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:249
↓ 5 callersMethodsetFieldInternal
(ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:1033
↓ 5 callersMethodsetInt
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:600
↓ 5 callersMethodsetLong
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:640
↓ 5 callersMethodsetParseError
* Sets parse_error field. * @param {string} value
deps/protobuf/js/experimental/runtime/kernel/conformance/conformance_response.js:38
↓ 5 callersMethodsetProtobufPayload
* Sets protobuf_payload field. * @param {!ArrayBuffer} value
deps/protobuf/js/experimental/runtime/kernel/conformance/conformance_response.js:54
↓ 5 callersMethodsetSequence
mlmodel/src/LayerShapeConstraints.cpp:858
↓ 5 callersMethodsetSfixed64
* Sets a sfixed64 value to the field with the given field number. * @param {number} fieldNumber * @param {!Int64} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:1971
↓ 5 callersMethodsetSizeLimit
Only valid for {@link InputStream}-backed streams. <p>Set the maximum message size. In order to prevent malicious messages from exhausting memory or
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:416
↓ 5 callersMethodsetStringValue
* Represents a string value. * * Generated from protobuf field <code>string string_value = 3;</code> * @param string $var * @retur
deps/protobuf/php/src/Google/Protobuf/Value.php:134
↓ 5 callersMethodsetUint32
* Sets a uint32 value to the field with the given field number. * @param {number} fieldNumber * @param {number} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2019
↓ 5 callersMethodset_begin
deps/protobuf/src/google/protobuf/descriptor.pb.h:14591
↓ 5 callersFunctionset_error
deps/pybind11/tests/test_exceptions.h:12
↓ 5 callersMethodset_module_name
Set the module level optimization config for a given module instance. If the module level optimization config for an existing module
coremltools/optimize/torch/optimization_config.py:73
↓ 5 callersMethodset_nanos
deps/protobuf/src/google/protobuf/duration.pb.h:269
↓ 5 callersMethodset_oneof_index
deps/protobuf/src/google/protobuf/type.pb.h:1878
↓ 5 callersFunctionset_parents
deps/nlohmann/json.hpp:18041
↓ 5 callersMethodset_start
deps/protobuf/src/google/protobuf/descriptor.pb.h:9265
↓ 5 callersFunctionshape
(const_context, builder, op)
coremltools/converters/mil/backend/nn/op_mapping.py:3057
↓ 5 callersMethodshape
Dimensions of the array
deps/pybind11/include/pybind11/numpy.h:940
↓ 5 callersFunctionshortdefname
deps/protobuf/php/ext/google/protobuf/php-upb.c:4992
↓ 5 callersFunctionshortdefname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4607
↓ 5 callersFunctionshould_use_weight_file
( val: Union[np.ndarray, np.generic], specification_version: Optional[int] = _SPECIFICATION_VERSION_IO
coremltools/converters/mil/backend/mil/load.py:59
↓ 5 callersMethodshutdown
Shutdown the socket.
coremltools/modelrunner/ModelRunner/Socket.swift:24
↓ 5 callersMethodsingularToFieldSetType
(final Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:1286
↓ 5 callersMethodskip
(long len)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:174
↓ 5 callersMethodslice
(long begin, long end)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2013
↓ 5 callersMethodstoreUnknownEnum
Stores an unrecognized enum value as an unknown value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:983
↓ 5 callersFunctionstring_to_builtin
Given a str, return its corresponding builtin type.
coremltools/converters/mil/mil/types/type_mapping.py:220
↓ 5 callersFunctionstringsink_string
deps/protobuf/php/ext/google/protobuf/names.c:44
↓ 5 callersMethodsupported_dtypes
(cls)
coremltools/converters/mil/mil/operation.py:162
↓ 5 callersMethodsupportsUnknownEnumValue
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:640
↓ 5 callersMethodtoArray
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:314
↓ 5 callersMethodtoByteString
Returns a BytesString for this field in a thread-safe way.
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyFieldLite.java:369
↓ 5 callersMethodtoCamelCase
(String name, boolean capNext)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:843
↓ 5 callersMethodtoFieldMask
Converts this tree to a FieldMask.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:201
↓ 5 callersMethodtoString
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:87
↓ 5 callersMethodtype_inference
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/scatter_gather.py:319
↓ 5 callersFunctiontypes_to_proto_primitive
(valuetype)
coremltools/converters/mil/backend/mil/helper.py:238
↓ 5 callersMethoduninterpreted_option_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9974
↓ 5 callersFunctionupb_arena_fuse
deps/protobuf/php/ext/google/protobuf/php-upb.c:2919
↓ 5 callersFunctionupb_arena_realloc
deps/protobuf/php/ext/google/protobuf/php-upb.h:478
↓ 5 callersFunctionupb_arena_realloc
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:478
↓ 5 callersFunctionupb_arrhas
deps/protobuf/php/ext/google/protobuf/php-upb.c:1941
↓ 5 callersFunctionupb_arrhas
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1941
↓ 5 callersFunctionupb_enumdef_fullname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4688
↓ 5 callersFunctionupb_fielddef_label
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4790
↓ 5 callersFunctionupb_fielddef_name
deps/protobuf/php/ext/google/protobuf/php-upb.c:5195
↓ 5 callersFunctionupb_fielddef_number
deps/protobuf/php/ext/google/protobuf/php-upb.c:5179
↓ 5 callersFunctionupb_fielddef_number
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4794
↓ 5 callersFunctionupb_inttable_next
deps/protobuf/php/ext/google/protobuf/php-upb.c:2612
↓ 5 callersFunctionupb_inttable_next
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2612
↓ 5 callersFunctionupb_map_set
deps/protobuf/php/ext/google/protobuf/php-upb.c:7312
↓ 5 callersFunctionupb_mapiter_key
Returns the key and value for this entry of the map. */
deps/protobuf/php/ext/google/protobuf/php-upb.c:7334
↓ 5 callersFunctionupb_msgdef_fullname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4964
↓ 5 callersFunctionupb_msgdef_mapentry
deps/protobuf/php/ext/google/protobuf/php-upb.c:5459
↓ 5 callersFunctionupb_tabstr
deps/protobuf/php/ext/google/protobuf/php-upb.h:858
↓ 5 callersFunctionupb_tabstr
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:858
↓ 5 callersFunctionuse_strict_base64_decoding
deps/protobuf/src/google/protobuf/util/internal/datapiece.h:120
↓ 5 callersMethodusingTypeRegistry
Creates a new {@link Parser} using the given registry. The new Parser clones all other configurations from this Parser. @throws IllegalArgumentExcept
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:433
↓ 5 callersMethodvalidate
(self, checks_to_run: _List[str])
coremltools/optimize/torch/_utils/validation_utils.py:43
↓ 5 callersFunctionvalidate_minimum_deployment_target
Validates the minimum deployment target based on backend and macOS version. Only used in tests.
coremltools/converters/mil/testing_utils.py:853
↓ 5 callersMethodvalue
deps/pybind11/tests/constructor_stats.h:142
↓ 5 callersMethodvalue_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:10891
↓ 5 callersFunctionverify_op_constexpr_lut_to_dense
(coreml_model, per_layer_lut_shape)
coremltools/test/optimize/torch/conversion/palettization/test_palettization_conversion.py:468
↓ 5 callersMethodwithCheckInitialized
(int[] checkInitialized)
deps/protobuf/java/core/src/main/java/com/google/protobuf/StructuralMessageInfo.java:139
↓ 5 callersMethodwith_args
(cls, **kwargs)
coremltools/optimize/torch/quantization/modules/learnable_fake_quantize.py:372
↓ 5 callersMethodwriteBoolList
( int fieldNumber, List<Boolean> value, Writer writer, boolean packed)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:273
← previousnext →2,801–2,900 of 41,379, ranked by callers