Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for Canonicalize (0.22 sec)

  1. tensorflow/compiler/jit/kernels/xla_ops.cc

          has_ref_vars_(has_ref_vars) {}
    
    void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) {
      VLOG(1) << "XlaLocalLaunchOpBase::Compute "
              << Canonicalize(function_.name(), AttrSlice(&function_.attr()));
      xla_launch_counter->GetCell(platform_info_.device_type().type_string())
          ->IncrementBy(1);
    
      std::vector<const Tensor*> inputs = InputsFromContext(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

    // RUN: tf-opt -convert-tf-quant-types -quant-convert-tf-quant-ops-to-mhlo -canonicalize "-xla-legalize-tf=legalize-chlo=false" -split-input-file %s | FILECHECK_OPTS="" FileCheck %s
    
    
    //===----------------------------------------------------------------------===//
    // tf.UniformQuantizedDotHybrid legalization
    //===----------------------------------------------------------------------===//
    
    // CHECK-LABEL: func @quantized_matmul_fn
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/cache.go

    	}
    	info = new(RevInfo)
    	if err := json.Unmarshal(data, info); err != nil {
    		return file, nil, errNotCached
    	}
    	// The disk might have stale .info files that have Name and Short fields set.
    	// We want to canonicalize to .info files with those fields omitted.
    	// Remarshal and update the cache file if needed.
    	data2, err := json.Marshal(info)
    	if err == nil && !bytes.Equal(data2, data) {
    		writeDiskCache(ctx, file, data)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/reconciler_test.go

    			}
    			if epSlice.Annotations[annotation] != val {
    				t.Errorf("Expected endpoint annotation %s to be mirrored correctly, got %s", annotation, epSlice.Annotations[annotation])
    			}
    		}
    	}
    
    	// canonicalize endpoints to match the expected endpoints, otherwise the test
    	// that creates more endpoints than allowed fail becaused the list of final
    	// endpoints doesn't match.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    // RUN: tf-opt %s -canonicalize | FILECHECK_OPTS="" FileCheck %s
    
    // CHECK-LABEL: @add_float
    func.func @add_float() -> (tensor<f32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>) {
      %0 = arith.constant dense<4.5> : tensor<f32>
      %1 = arith.constant dense<1.5> : tensor<f32>
    
      %2 = arith.constant dense< 3.5> : tensor<4xf32>
      %3 = arith.constant dense<-0.5> : tensor<4xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/coderepo.go

    				//
    				// The tag is otherwise valid for the module, so we can at least use it as
    				// the base of an unambiguous pseudo-version.
    				//
    				// If multiple tags match, tagToVersion will canonicalize them to the same
    				// base version.
    				pseudoBase = v
    			}
    		}
    		// Save the highest non-retracted canonical tag for the revision.
    		// If we don't find a better match, we'll use it as the canonical version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      // attribute have no host device attribute.
      pm.addPass(mlir::TFTPU::CreateTPUClusterCleanupAttributesPass());
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateDeviceAttributeToLaunchPass());
      // Running canonicalizer before decomposing resource ops in cluster helps the
      // latter pass to converge faster as it does not have to spend time folding
      // away dead ops.
      pm.addNestedPass<FuncOp>(mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (1)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

        }
    
        // Forward the corresponding input to the output
        result.replaceAllUsesWith(branch_args[common_arg_index.value()]);
      }
      return success();
    }
    
    // Canonicalizes a function if. Forwards input argument to resource results and
    // then deletes the resource results.
    LogicalResult CanonicalizeFunctionalIfCase(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            fixture.overlappingOutputsAreStillPresent()
    
            where:
            overlappingOutputDir << ['build/outputs', 'build/outputs/child', 'build', 'build/other-output']
        }
    
        def "relative paths canonicalized for cleanup registry"() {
            def fixture = new StaleOutputFixture(buildDir: 'build/../some-dir')
            buildScript(fixture.buildScript)
            fixture.createInputs()
            fixture.createStaleOutputs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/net/http/cookiejar/jar.go

    	}
    
    	if modified {
    		if len(submap) == 0 {
    			delete(j.entries, key)
    		} else {
    			j.entries[key] = submap
    		}
    	}
    }
    
    // canonicalHost strips port from host if present and returns the canonicalized
    // host name.
    func canonicalHost(host string) (string, error) {
    	var err error
    	if hasPort(host) {
    		host, _, err = net.SplitHostPort(host)
    		if err != nil {
    			return "", err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top