Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 93 for Canonicalize (1.29 sec)

  1. src/go/printer/printer.go

    // unexported, it's also possible to modify or remove it based on
    // the evolving needs of go/format and cmd/gofmt without breaking
    // users. See discussion in CL 240683.
    const (
    	// normalizeNumbers means to canonicalize number
    	// literal prefixes and exponents while printing.
    	//
    	// This value is known in and used by go/format and cmd/gofmt.
    	// It is currently more convenient and performant for those
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc

      for (int i = 0; i < num_inputs; ++i) {
        signature->add_input_arg();
      }
      for (int i = 0; i < num_outputs; ++i) {
        signature->add_output_arg();
      }
      return func;
    }
    
    // A SavedConcreteFunction whose canonicalized input signature
    // has less inputs than its corresponding FunctionDef should cause an error.
    TEST_F(SavedConcreteFunctionLoadingTest, TooFewInputsInSavedConcreteFunction) {
      // `saved` has 1 input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

      }
      return res;
    }
    
    // Extracts and canonicalizes the device attribute.
    inline StringRef GetDeviceAttr(func::FuncOp func, int arg_no) {
      auto device_attr =
          func.getArgAttrOfType<mlir::StringAttr>(arg_no, kFuncDeviceAttr);
      return device_attr ? device_attr.getValue() : "";
    }
    
    // Extracts and canonicalizes the device attribute.
    inline StringRef GetDeviceAttr(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

                 << "found unexpected type " << operand.get().getType()
                 << " of operand #" << operand.getOperandNumber()
                 << ", resource type operands are expected to have been "
                    "canonicalized away for region based control flow ops";
        }
      }
      for (OpResult result : op.getResults()) {
        if (mlir::isa<TF::ResourceType>(getElementTypeOrSelf(result.getType()))) {
          return op.emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      if (legalize_chlo) {
        chlo::populateChloToHloPatterns(context, &hlo_converter, &patterns);
      }
      // ConstantLike op is convenient to create splat constants, but is
      // canonicalized to plain HLO constant if statically shaped. Add the
      // canonicalization pattern to pattern list to enable multi-hop lowering.
      chlo::ConstantLikeOp::getCanonicalizationPatterns(patterns, context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            when:
            def parameter = new StartParameter()
            then:
            parameter.gradleUserHomeDir == gradleUserHome
        }
    
        void "canonicalizes current dir"() {
            StartParameter parameter = new StartParameter()
            File dir = new File('current')
    
            when:
            parameter.currentDir = dir
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top