Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for transformTo (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Transforms functional control flow operations to their region-based counterparts";
    
      let description = [{
        This pass transforms functional control flow operations in the TensorFlow
        dialect to their region-based counterparts, i.e., `tf.If` is transformed to
        `tf.IfRegion` and `tf.While` is transformed to `tf.WhileRegion`.
    
        For example, this functional operation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    			if defaultCluster != nil {
    				_ = cb.applyDestinationRule(defaultCluster, DefaultClusterMode, service, servicePort, eb, nil, nil)
    			}
    
    			if diff := cmp.Diff(defaultCluster.build(), tt.expectedCluster, protocmp.Transform()); diff != "" {
    				t.Errorf("Unexpected default cluster, diff: %v", diff)
    			}
    		})
    	}
    }
    
    func TestClusterDnsLookupFamily(t *testing.T) {
    	servicePort := &model.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			return nil
    		}
    
    		if _, err := registry.Create(testContext, test.pod, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    
    		transformer := func(ctx context.Context, newObj runtime.Object, oldObj runtime.Object) (transformedNewObj runtime.Object, err error) {
    			<-ready
    			pod, ok := newObj.(*example.Pod)
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "mlir/Transforms/FoldUtils.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    			// offset from the start of the compile unit.
    			o = ldr.SymValue(rs) + r.Add() - ldr.SymValue(loader.Sym(ldr.SymUnit(rs).Textp[0]))
    
    		// r.Sym() can be 0 when CALL $(constant) is transformed from absolute PC to relative PC call.
    		case objabi.R_GOTPCREL:
    			if target.IsDynlinkingGo() && target.IsDarwin() && rs != 0 {
    				nExtReloc++
    				o = r.Add()
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_test.go

    			c := xdstest.ExtractCluster("outbound|8080|foobar|foo.example.org", buildTestClustersWithTCPKeepalive(t, tt.rule))
    			if diff := cmp.Diff(c.GetUpstreamConnectionOptions().GetTcpKeepalive(), tt.keepalive, protocmp.Transform()); diff != "" {
    				t.Fatalf("got diff: %v", diff)
    			}
    		})
    	}
    }
    
    func buildTestClustersWithTCPKeepalive(t testing.TB, configType ConfigType) []*cluster.Cluster {
    	// Set mesh wide defaults.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    		if err != nil {
    			return nil, cleanupAction, err
    		}
    		mounts = append(mounts, *hostsMount)
    	}
    	return mounts, cleanupAction, nil
    }
    
    // translateMountPropagation transforms v1.MountPropagationMode to
    // runtimeapi.MountPropagation.
    func translateMountPropagation(mountMode *v1.MountPropagationMode) (runtimeapi.MountPropagation, error) {
    	if runtime.GOOS == "windows" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top