- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for ndarray (0.09 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py
from tensorflow.python.types import core from tensorflow.python.util import tf_export # A representative sample is a map of: input_key -> input_value. # Ex.: {'dense_input': tf.constant([1, 2, 3])} # Ex.: {'x1': np.ndarray([4, 5, 6]} RepresentativeSample = Mapping[str, core.TensorLike] # A representative dataset is an iterable of representative samples. RepresentativeDataset = Iterable[RepresentativeSample]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 14.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py
self._hist_mids = np.linspace(first_mid, last_mid, self._num_bins) def _get_dequantized_hist_mids_after_quantize( self, quant_min: float, quant_max: float ) -> np.ndarray: """Quantizes and dequantizes hist_mids using quant_min and quant_max. Quantization converts the range of numbers from [quant_min, quant_max] to [0, 2^num_bits - 1]. Values less than quant_min are converted to 0, and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 14.7K bytes - Viewed (0) -
src/go/types/array.go
func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} } // Len returns the length of array a. // A negative result indicates an unknown length. func (a *Array) Len() int64 { return a.len } // Elem returns element type of array a. func (a *Array) Elem() Type { return a.elem } func (a *Array) Underlying() Type { return a }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 927 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt
var first = true list.forEach { if (first) first = false else comma() body(it) } endArray() } private fun beginArray() { write('[') } private fun endArray() { write(']') } private fun property(name: String, value: String) { property(name) { jsonString(value) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/languageConstructs/arrayLiteral.txt
KaDataFlowExitPointSnapshot: defaultExpressionInfo = DefaultExpressionInfo: expression = [1, 2, 3] type = kotlin.IntArray hasEscapingJumps = false hasJumps = false hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [] returnValueType = null valuedReturnExpressions = []
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 349 bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/languageConstructs/arrayLiteral.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 14 10:53:11 UTC 2024 - 91 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
// Convert updates into canonical form as expected by tf.scatter ops. // // tf.scatter expects `update_window_dims` to be the trailing dimensions. // // To support scatter ops generated by numpy-like slice updates: // nd_array[:, [i,j]] = [i_values, j_values] // // `updates` must be transposed when the update_window_dims are the leading // dimensions of `updates`. // // Other values of `update_window_dims` are left unsupported. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/ArrayCodecs.kt
import org.gradle.internal.serialize.EncoderExtensions.writeLengthPrefixedShorts object NonPrimitiveArrayCodec : Codec<Array<*>> { override suspend fun WriteContext.encode(value: Array<*>) { writeArray(value) { element -> write(element) } } override suspend fun ReadContext.decode(): Array<*> = readArray { read() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy
private List<Object> readArray(JsonReader reader) { List<Object> values = [] reader.beginArray() while (reader.peek() != JsonToken.END_ARRAY) { Object value = readAny(reader) values.add(value) } reader.endArray() return values } static Map<String, String> normalizeForTests(Map<String, ?> attributes) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 18.7K bytes - Viewed (0)