- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for srcCopy (0.55 sec)
-
src/net/addrselect_test.go
inCopy[j], inCopy[k] = inCopy[k], inCopy[j] srcCopy[j], srcCopy[k] = srcCopy[k], srcCopy[j] } sortByRFC6724withSrcs(inCopy, srcCopy) if !reflect.DeepEqual(inCopy, tt.want) { t.Errorf("test %d, starting backwards:\nin = %s\ngot: %s\nwant: %s\n", i, tt.in, inCopy, tt.want) } } } } func TestRFC6724PolicyTableOrder(t *testing.T) { for i := 0; i < len(rfc6724policyTable)-1; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 05 07:16:00 UTC 2022 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
$multiply_linear_by_lr, (Clamp $src_op, (TF_NegOp (TF_MulOp $l1, $lr)), (CreateTFReadVariableOp $src_op, $l1, $linear), (TF_MulOp $l1, $lr) ), (Clamp $src_op, (TF_NegOp $l1), (CreateTFReadVariableOp $src_op, $l1, $linear), $l1 ) ), (CreateTFReadVariableOp $src_op, $l1, $linear) ),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
pkg/kubelet/status/state/state.go
// Clone returns a copy of PodResourceAllocation func (pr PodResourceAllocation) Clone() PodResourceAllocation { prCopy := make(PodResourceAllocation) for pod := range pr { prCopy[pod] = make(map[string]v1.ResourceList) for container, alloc := range pr[pod] { prCopy[pod][container] = alloc.DeepCopy() } } return prCopy } // Reader interface used to read current pod resource allocation state type Reader interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2K bytes - Viewed (0) -
pkg/controller/deployment/sync.go
if sizeNeedsUpdate || annotationsNeedUpdate { oldScale := *(rs.Spec.Replicas) rsCopy := rs.DeepCopy() *(rsCopy.Spec.Replicas) = newScale deploymentutil.SetReplicasAnnotations(rsCopy, *(deployment.Spec.Replicas), *(deployment.Spec.Replicas)+deploymentutil.MaxSurge(*deployment)) rs, err = dc.client.AppsV1().ReplicaSets(rsCopy.Namespace).Update(ctx, rsCopy, metav1.UpdateOptions{}) if err == nil && sizeNeedsUpdate { scaled = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 24.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
void runOnOperation() override; }; template <typename SrcOp> class DequantizeConverter : public OpRewritePattern<SrcOp> { public: using OpRewritePattern<SrcOp>::OpRewritePattern; LogicalResult matchAndRewrite(SrcOp srcop, PatternRewriter &rewriter) const final { Operation *op = srcop.getOperation(); bool allTypesFp = true; bool allTypesQuantizedOrInt = true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/controller/deployment/recreate_test.go
for n, size := range test.oldRSSizes { rs := newReplicaSet(test.d, fmt.Sprintf("%s-%d", test.d.Name, n), size) oldRSs = append(oldRSs, rs) rsCopy := rs.DeepCopy() zero := int32(0) rsCopy.Spec.Replicas = &zero expected = append(expected, rsCopy) if *(oldRSs[n].Spec.Replicas) == *(expected[n].(*apps.ReplicaSet).Spec.Replicas) { t.Errorf("broken test - original and expected RS have the same size") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def LegalizeSelectV2SameStaticShape : Pat<(TF_SelectV2Op:$src_op $cond, $x, $y), (TFL_SelectOp $cond, $x, $y), [(OpHasSameStaticShapes $src_op)]>; def LegalizeSelectV2NotSameStaticShape : Pat< (TF_SelectV2Op:$src_op $cond, $x, $y), (TFL_SelectV2Op $cond, $x, $y), [(OpHasNotSameStaticShapes $src_op)]>; def LegalizeShape : Pat<(TF_ShapeOp $arg), (TFL_ShapeOp $arg)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
template <typename SrcOpT, typename FusedOpT> class FuseContractionWithBiasAdd : public OpRewritePattern<SrcOpT> { public: using OpRewritePattern<SrcOpT>::OpRewritePattern; // Class users should override this method if there are any op-specific // compatibility requirements between the contraction op and the BiasAdd op. virtual bool AreFuseCompatible(SrcOpT contraction_op, BiasAddOp bias_add,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
UnpackOp::getOperationName(), PackOp::getOperationName()}) {} LogicalResult matchAndRewrite(Operation *src_op, PatternRewriter &rewriter) const override { auto op = cast<OpT>(src_op); // Static output type is used to compute intermediate values. Note that the // output type doesn't have to be static but if input types and indices are
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
class LowerInitializationOp<Op FromOp, int initial_val> : Pat<(FromOp:$src_op TensorOf<[AnyInteger, AnyFloat, AnyComplex]>:$input), (TF_BroadcastToOp (TF_ConstOp (GetScalarOfType<initial_val> $input)), (CreateTFShapeOp $src_op, $input, /*use 32bit*/ConstBoolAttrFalse))>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0)