- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 150 for Indices (0.15 sec)
-
pkg/controller/tainteviction/taint_eviction_test.go
} return pod } func addTaintsToNode(node *corev1.Node, key, value string, indices []int) *corev1.Node { taints := []corev1.Taint{} for _, index := range indices { taints = append(taints, createNoExecuteTaint(index)) } node.Spec.Taints = taints return node } var alwaysReady = func() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
tparams *TypeParamList // local type parameters paramNames bool // if set, write function parameter names, otherwise, write types only tpSubscripts bool // if set, write type parameter indices as subscripts pkgInfo bool // package-annotate first unexported-type field to avoid confusing type description } func newTypeWriter(buf *bytes.Buffer, qf Qualifier) *typeWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
assert(output_axis < num_dimensions); const int input_axis = perm[output_axis]; for (int i = 0; i < output_shape[output_axis]; ++i) { // Update the input indices on `input_axis`. assert(input_axis < input_indices->size()); input_indices->operator[](input_axis) = static_cast<uint64_t>(i); // Write the value from `input_tensor` if it is the last axis or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
src/go/types/typestring.go
tparams *TypeParamList // local type parameters paramNames bool // if set, write function parameter names, otherwise, write types only tpSubscripts bool // if set, write type parameter indices as subscripts pkgInfo bool // package-annotate first unexported-type field to avoid confusing type description } func newTypeWriter(buf *bytes.Buffer, qf Qualifier) *typeWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
if (lstm_func.getNumArguments() == 7) return failure(); // We should know the batch size in advance for the lstm fusion. // A good indicator of batch size is both cell state and input state (indices // 1 & 2) have fixed shape and other input tenors should have ranked tensor // types. for (int i = 0; i < 6; ++i) { auto input = lstm_func.getArgument(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
// new argument index that corresponds to each original index (-1 means it is // removed). If remaining_resource_data_types is provided, it will store the // data types of the remaining resource arguments, where the indices are after // removing unused ones. void RemoveUnusedResourceArgumentsAndForwardedRetvals( const llvm::SmallDenseMap<int64_t, ResourceArgUseInfo>& infos, func::FuncOp func_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
// CHECK: %[[VALUES:.*]], %[[INDICES:.*]] = "tfl.topk_v2"(%[[ARG]], %[[K]]) : (tensor<3x10xf32>, tensor<i32>) -> (tensor<3x5xf32>, tensor<3x5xi32>) // CHECK: return %[[INDICES]] : tensor<3x5xi32> // CHECK: } func.func @optimizeTopKOnlyIndices(%arg: tensor<3x10xf32>) -> tensor<3x5xi32>{ %K = arith.constant dense<10> : tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
int64_t& inferred_dim = (*inferred_item_shape)[i]; int64_t dim = item_shape[i]; if (ShapedType::isDynamic(inferred_dim)) inferred_dim = dim; } } // If all indices are constants, then verify that they cover all indices in // the range [0, max_index] and the output type is legal. if (all_indices_const) { for (int32_t i = 0; i <= max_index; i++) { if (!index_values.count(i))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
if self.same_scale_op == 'concatenate': ones = array_ops.ones_like(out) out = array_ops.concat([out, ones], 0) elif self.same_scale_op == 'gather': out = array_ops.gather(out, indices=[0], axis=0) elif self.same_scale_op == 'max_pool': out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME') elif self.same_scale_op == 'pad': paddings = array_ops.ones(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
PatternRewriter& rewriter) const override { rewriter.replaceOpWithNewOp<TFL::GatherNdOp>( op, /*output=*/op.getResult().getType(), /*params=*/op.getOperand(), /*indices=*/op.getStartIndices()); } }; // Rewrites quantized stablehlo.dynamic_slice to tfl.slice. // TODO: b/322428814 - Add StableHLO quantizer integration tests for ODML. class RewriteQuantizedDynamicSliceOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0)