Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for Canonicalize (0.63 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

    //  * c is the index vector dimension
    //  * a,b iterate over the updates and indices
    //
    //  The update needs permuting to be in the form (a,b,d,e,f) so that the update
    //  window dims are the trailing dimensions.
    //
    // To canonicalize the updates above, replace the updates with:
    //   transpose(updates, permutation={3,4,0,1,2})
    //
    // Note: NormalizeIndexVector is assumed to have run on the indices already so
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/strategy.go

    // objects such as ReplicaSet.  Can use pkg/api/meta to generically get the
    // UID, but need some way to generically access the selector and pod labels
    // fields.
    
    // Canonicalize normalizes the object after validation.
    func (jobStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (jobStrategy) AllowUnconditionalUpdate() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/BUILD

            "@llvm-project//llvm:Support",
            "@llvm-project//mlir:IR",
            "@llvm-project//mlir:Support",
        ],
    )
    
    cc_library(
        name = "passes",
        srcs = [
            "passes/canonicalize.cc",
            "passes/decompose.cc",
            "passes/generated_decompose.inc",
            "passes/raise_to_tf.cc",
            "passes/rewrite_quantized_io.cc",
        ],
        hdrs = [
            "passes/passes.h",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // the random function body before being inlined.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateLegalizeJaxRandomPass());
    
      // Canonicalize, CSE etc.
      pass_manager.addPass(mlir::mhlo::createStablehloLegalizeToHloPass());
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

        }
    
        /**
         * Constructs JVM details by inspecting the current JVM.
         */
        Jvm(OperatingSystem os) {
            this(os, FileUtils.canonicalize(new File(System.getProperty("java.home"))), System.getProperty("java.version"), JavaVersionParser.parseMajorVersion(System.getProperty("java.version")), false);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

                            String javaIoTmpDir = SystemProperties.getInstance().getJavaIoTmpDir();
                            rootTmpDir = javaIoTmpDir;
                        }
                        return FileUtils.canonicalize(new File(rootTmpDir));
                    });
                    return new ConstantTestKitDirProvider(temporaryFileProvider.newTemporaryFile(".gradle-test-kit"));
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

         // var <- var - mom
         (TF_AssignSubVariableOp $var_resource, $mom_new)
       ]
       >;
    
    // Same as DecomposeResourceApplyFtrlV2, with l2_shrinkage set to zero.
    // TODO(kramm): Move this pattern to canonicalize.td?
    def DecomposeResourceApplyFtrl : Pat<
      (TF_ResourceApplyFtrlOp $var, $accum, $linear, $grad, $lr, $l1, $l2,
         $lr_power, $use_locking, $multiply_linear_by_lr),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy.go

    	}
    	warnings = append(warnings, podutil.GetWarningsForPod(ctx, newPod, nil)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (podStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for pods.
    func (podStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults.go

    func SetDefaults_Namespace(obj *v1.Namespace) {
    	// we can't SetDefaults for nameless namespaces (generateName).
    	// This code needs to be kept in sync with the implementation that exists
    	// in Namespace Canonicalize strategy (pkg/registry/core/namespace)
    
    	// note that this can result in many calls to feature enablement in some cases, but
    	// we assume that there's no real cost there.
    	if len(obj.Name) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. cmd/handler-utils.go

    	if v == nil {
    		bugLogIf(ctx, errInvalidArgument)
    		return errInvalidArgument
    	}
    
    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top