MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 5 callersFunction_upb_map_fromvalue
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1556
↓ 5 callersFunction_var
( x: Var, axes: Tuple[int] = None, keep_dims: bool = False, unbiased: bool = None, correct
coremltools/converters/mil/frontend/torch/ops.py:7479
↓ 5 callersFunction_verify_quantization_arguments
(weight=bytes(), output_channels=1, **kwargs)
coremltools/models/neural_network/builder.py:56
↓ 5 callersMethodaddFieldPath
Adds a field path to the tree. In a FieldMask, every field path matches the specified field as well as all its sub-fields. For example, a field path "
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:100
↓ 5 callersMethodaddFixed32
Add a fixed32 value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:1017
↓ 5 callersMethodaddInput
mlmodel/src/Model.cpp:246
↓ 5 callersMethodaddMessage
Appends the specified element to the end of this list. @param message the message to add @return the builder
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:300
↓ 5 callersMethodadd_add_broadcastable
Add an add_broadcastable layer to the model that performs element-wise addition operation with broadcast support. Refer to th
coremltools/models/neural_network/builder.py:5405
↓ 5 callersMethodadd_annotation
deps/protobuf/src/google/protobuf/descriptor.pb.h:14657
↓ 5 callersMethodadd_fill_dynamic
Add a fill_dynamic layer to the model that outputs a tensor filled with a scalar value. Refer to the ``FillDynamicLayerParams
coremltools/models/neural_network/builder.py:7330
↓ 5 callersMethodadd_gather
Add a gather layer to the model that gathers elements or slices from data and store to a tensor whose shape is defined by indices fro
coremltools/models/neural_network/builder.py:6496
↓ 5 callersMethodadd_get_shape
Add a get_shape layer to the model. Refer to the ``GetShapeLayerParams`` message in the specification (NeuralNetwork.proto) f
coremltools/models/neural_network/builder.py:7208
↓ 5 callersMethodadd_greater_than
Add a greater_than layer to the model that performs the element-wise greater-than (>) operation or greater-than-or-equal-to (>=) oper
coremltools/models/neural_network/builder.py:6211
↓ 5 callersMethodadd_not_equal
Add a not_equal layer to the model that performs the element-wise not equal (!=) operation. Broadcasting is supported. Refer
coremltools/models/neural_network/builder.py:6324
↓ 5 callersMethodadd_slice_static
Add a slice_static layer to the model that extracts a slice of size ``(end - begin) / stride`` from the given input tensor. R
coremltools/models/neural_network/builder.py:5785
↓ 5 callersMethodadd_softmax
Add a softmax layer to the model. Refer to the ``SoftmaxLayerParams`` message in the specification (NeuralNetwork.proto) for
coremltools/models/neural_network/builder.py:1703
↓ 5 callersMethodadd_split_nd
Add a split layer to the model that splits the input tensor into multiple output tensors. Either uniformly split the input tensor int
coremltools/models/neural_network/builder.py:5744
↓ 5 callersMethodadd_unary
Add a Unary layer. Applies the specified function (mode) to all the elements of the input. Prior to the application of the function t
coremltools/models/neural_network/builder.py:4336
↓ 5 callersFunctionappend
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:6787
↓ 5 callersMethodappend
Appends an item to the list. Similar to list.append().
deps/protobuf/python/google/protobuf/internal/containers.py:117
↓ 5 callersMethodappend_pass
Append a pass at the end of the current passes in the pipeline.
coremltools/converters/mil/mil/passes/pass_pipeline.py:330
↓ 5 callersMethodapply
(self, prog)
coremltools/optimize/coreml/_quantization_passes.py:86
↓ 5 callersFunctionbroadcast_shapes
Check and broadcast given input shapes. :param shape_x: tuple of int or symbols Shape of the first tensor (possibly symbolic). :p
coremltools/converters/mil/mil/ops/defs/_utils.py:54
↓ 5 callersMethodbufferPos
(long pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2228
↓ 5 callersMethodbufferUInt64NoTag
This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2331
↓ 5 callersMethodbyteAt
Gets the byte at the given index. This method should be used only for random access to individual bytes. To access bytes sequentially, use the {@link
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:157
↓ 5 callersMethodbyteSize
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1923
↓ 5 callersMethodcan_materialize_val
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/quantization_ops.py:225
↓ 5 callersFunctioncbegin
! @brief returns a const iterator to the first element Returns a const iterator to the first element. @image html range-begin-end.svg "I
deps/nlohmann/json.hpp:21395
↓ 5 callersFunctioncend
! @brief returns a const iterator to one past the last element Returns a const iterator to one past the last element. @image html range-
deps/nlohmann/json.hpp:21466
↓ 5 callersMethodcheckDouble
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:177
↓ 5 callersMethodcheckFieldDescriptor
(FieldDescriptor field)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapEntry.java:313
↓ 5 callersMethodcheckType
(ThreadContext context, FieldDescriptor.Type fieldType, String fieldNa
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/Utils.java:67
↓ 5 callersMethodcheckUint64
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:155
↓ 5 callersFunctionclean_up_backends
Given a list of BackendConfig objects, this utility function filters out the invalid elements. For instance, given a list of configs with op
coremltools/converters/mil/testing_reqs.py:113
↓ 5 callersMethodclear_cached_models
Clears the cache of generated models.
coremltools/models/ml_program/experimental/debugging_utils.py:432
↓ 5 callersMethodcloneAllFieldsMap
( SmallSortedMap<T, Object> fields, boolean copyList)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:202
↓ 5 callersMethodcloseAndStartNewBuffer_
* Appends the current buffer into the blocks array and starts a new buffer. * @private
deps/protobuf/js/experimental/runtime/kernel/writer.js:104
↓ 5 callersMethodcompareFields
Compares two set of fields. This method is used to implement {@link AbstractMessage#equals(Object)} and {@link AbstractMutableMessage#equals(Object)}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:233
↓ 5 callersFunctioncompare_backend
Inputs: - mlmodel: MLModel. - input_key_values: str -> np.array. Keys must match those in input_placeholders.
coremltools/converters/mil/testing_utils.py:403
↓ 5 callersMethodcomputeFixed32Size
Compute the number of bytes that would be needed to encode a {@code fixed32} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:532
↓ 5 callersMethodcomputeFixed64Size
Compute the number of bytes that would be needed to encode a {@code fixed64} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:572
↓ 5 callersMethodcomputeFullName
( final FileDescriptor file, final Descriptor parent, final String name)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2280
↓ 5 callersMethodcomputeInt32SizeNoTag
Compute the number of bytes that would be needed to encode an {@code int32} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:717
↓ 5 callersMethodcomputeStringSize
Compute the number of bytes that would be needed to encode a {@code string} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:620
↓ 5 callersMethodcomputeUInt32Size
Compute the number of bytes that would be needed to encode a {@code uint32} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:516
↓ 5 callersMethodcond
(a, b)
coremltools/converters/mil/mil/passes/tests/test_cleanup_passes.py:1204
↓ 5 callersMethodcond
(i, num_iters, array, update)
coremltools/converters/mil/frontend/tensorflow/test/test_ops.py:7095
↓ 5 callersMethodconsumeIdentifier
If the next token is an identifier, consume it and return its value. Otherwise, throw a {@link ParseException}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1049
↓ 5 callersMethodcopyOnWrite
Called before any method that would mutate the builder to ensure that it correctly copies any state before the write happens to preserve immutability
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:358
↓ 5 callersFunctioncurr_block
()
coremltools/converters/mil/mil/block.py:28
↓ 5 callersMethoddata
deps/protobuf/src/google/protobuf/descriptor.cc:961
↓ 5 callersMethoddefault_value
deps/protobuf/src/google/protobuf/extension_set.h:1498
↓ 5 callersFunctioneffective_kernel
Args: kernel_shape: tuple[int] representing the kernel shape in each given dimension. dilations: tuple[int] represen
coremltools/converters/mil/mil/ops/defs/_utils.py:140
↓ 5 callersMethodempty?
deps/protobuf/ruby/lib/google/protobuf/repeated_field.rb:102
↓ 5 callersMethodemptyList
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java:47
↓ 5 callersMethodencodeUtf8
Encodes the given characters to the target {@link ByteBuffer} using UTF-8 encoding. <p>Selects an optimal algorithm based on the type of {@link ByteB
deps/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java:353
↓ 5 callersFunctionencode_varint
deps/protobuf/php/ext/google/protobuf/php-upb.c:1107
↓ 5 callersFunctionencode_varint
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1107
↓ 5 callersMethodendsWith
Tests if this bytestring ends with the specified suffix. Similar to {@link String#endsWith(String)} @param suffix the suffix. @return <code>true</cod
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:345
↓ 5 callersMethodensureExtensionsAreMutable
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:790
↓ 5 callersMethodensureIsMutable
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:654
↓ 5 callersMethodensureMutable
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:230
↓ 5 callersMethodequal_range
deps/protobuf/src/google/protobuf/map.h:1259
↓ 5 callersFunctionexec
deps/pybind11/include/pybind11/eval.h:88
↓ 5 callersMethodexistField
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1581
↓ 5 callersMethodextendee
deps/protobuf/src/google/protobuf/descriptor_database.cc:527
↓ 5 callersMethodf
(String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapTest.java:764
↓ 5 callersFunctionfastdecode_loadtag
deps/protobuf/php/ext/google/protobuf/php-upb.h:1888
↓ 5 callersFunctionfastdecode_loadtag
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1892
↓ 5 callersFunctionfetch_func_params
Given a model, weight node and bias node, this function fetches the attributes corresponding to these nodes and returns them as a 2-tuple (we
coremltools/optimize/torch/_utils/transforms.py:114
↓ 5 callersMethodfield
(Class<?> messageType, FieldDescriptor fd)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DescriptorMessageInfoFactory.java:575
↓ 5 callersFunctionfill
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:5539
↓ 5 callersMethodfind_first_not_of
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:166
↓ 5 callersMethodfind_params
Compute quantization parameters.
coremltools/optimize/torch/layerwise_compression/_quant.py:94
↓ 5 callersMethodflags
deps/pybind11/include/pybind11/numpy.h:753
↓ 5 callersFunctionfopen
deps/protobuf/src/google/protobuf/io/io_win32.cc:321
↓ 5 callersMethodforMapMetadata
Returns the metadata from a default entry.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldSchema.java:56
↓ 5 callersMethodfromBufferDecoder_
* Create a Kernel for the given binary bytes. * The bytes array is kept by the Kernel. DON'T MODIFY IT. * @param {!BufferDecoder} bufferDecoder
deps/protobuf/js/experimental/runtime/kernel/kernel.js:385
↓ 5 callersMethodfrom_dict
(dict: _Dict[str, _Any])
coremltools/models/ml_program/experimental/remote_device.py:2216
↓ 5 callersFunctionfrom_json
deps/nlohmann/json.hpp:3712
↓ 5 callersMethodfrom_yaml
Construct an ``OptimizationConfig`` instance from a YAML file. The YAML file should have the structure that only contains (if any) th
coremltools/optimize/coreml/_config.py:1131
↓ 5 callersMethodgetAllFieldsMutable
Internal helper to return a modifiable map containing all the fields. The returned Map is modifialbe so that the caller can add additional extension f
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:118
↓ 5 callersMethodgetAllFieldsMutable
Internal helper to return a modifiable map containing all the fields. The returned Map is modifiable so that the caller can add additional extension f
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:158
↓ 5 callersMethodgetAllLiteSetBuilder
Get a {@code TestAllTypesLite.Builder} with all fields set as they would be by {@link #setAllFields(TestAllTypesLite.Builder)}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtilLite.java:153
↓ 5 callersMethodgetBoolWithDefault
* Returns data as boolean for the given field number. * If no default is given, use false as the default. * @param {number} fieldNumber * @pa
deps/protobuf/js/experimental/runtime/kernel/kernel.js:553
↓ 5 callersMethodgetBoolean
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:143
↓ 5 callersMethodgetByteString
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:234
↓ 5 callersMethodgetBytesWithDefault
* Returns data as a ByteString for the given field number. * If no default is given, use false as the default. * @param {number} fieldNumber
deps/protobuf/js/experimental/runtime/kernel/kernel.js:567
↓ 5 callersMethodgetContainingType
Get the field's containing type. For extensions, this is the type being extended, not the location where the extension was defined. See {@link #getExt
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1242
↓ 5 callersMethodgetCount
Gets the count of items in the list. @return the count of items in the list.
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:171
↓ 5 callersMethodgetDescriptorByClassName
($klass)
deps/protobuf/php/src/Google/Protobuf/Internal/DescriptorPool.php:115
↓ 5 callersMethodgetDescriptorForType
Returns the descriptor for the target.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:218
↓ 5 callersMethodgetDouble
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:159
↓ 5 callersMethodgetEmptyTypeRegistry
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/TypeRegistry.java:54
↓ 5 callersMethodgetEmptyTypeRegistry
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:513
↓ 5 callersMethodgetEnumFieldVerifier
(int pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:4868
↓ 5 callersMethodgetField
(String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java:64
↓ 5 callersMethodgetField
Useful for implementing {@link Message#getField(Descriptors.FieldDescriptor)}. This method returns {@code null} if the field is not set; in this case
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:264
↓ 5 callersMethodgetFloat
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:151
← previousnext →2,601–2,700 of 41,379, ranked by callers