- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for Canonicalize (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td
(TF_LogOp:$src (TF_SoftmaxOp $arg)), (TF_LogSoftmaxOp:$dest $arg), [], [(CopyAttrs $src, $dest)]>; // Canonicalize: Log(1.0 + x) to Log1p(x) // // We currently do this rewrite only if the constant `1` is a scalar, because // it is safely broadcastable to any shape. To be able to canonicalize when // constant values is not a scalar, we have to first prove that it is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:42:28 UTC 2023 - 17K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir
// RUN: tfr-opt %s -canonicalize="test-convergence" -verify-diagnostics -split-input-file | FileCheck %s // Tests for ops with canonicalization patterns. // CHECK-LABEL: get_real_shape func.func @get_real_shape(%arg0: tensor<1x2xf32>) -> tensor<2xindex> { %0 = "tfr.cast"(%arg0) : (tensor<1x2xf32>) -> !tfr.tensor %1 = tfr.get_shape %0 -> !shape.shape %2 = shape.to_extent_tensor %1 : !shape.shape -> tensor<2xindex> func.return %2 : tensor<2xindex>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/canonicalize.mlir
// RUN: tf-opt -canonicalize=test-convergence -tfl-runtime-verify -split-input-file -verify-diagnostics %s | FileCheck %s // CHECK-LABEL: @squeeze_folder func.func @squeeze_folder(%arg0 : tensor<?x?xf32>) -> tensor<?x?xf32> { %0 = "tfl.squeeze"(%arg0) : (tensor<?x?xf32>) -> tensor<?x?xf32> // CHECK: return %arg0 func.return %0 : tensor<?x?xf32> } // ----- // CHECK-LABEL: @squeeze_folder
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/language.go
} } if c&DeprecatedRegion != 0 { if r := t.RegionID.Canonicalize(); r != t.RegionID { changed = true t.RegionID = r } } return t, changed } // Canonicalize returns the canonicalized equivalent of the tag. func (c CanonType) Canonicalize(t Tag) (Tag, error) { // First try fast path. if t.isCompact() { if _, changed := canonicalize(c, compact.Tag(t).Tag()); !changed { return t, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
for _, from := range replaceFrom { to := overlayJSON.Replace[from] // Canonicalize paths and check for a collision. if from == "" { return fmt.Errorf("empty string key in overlay file Replace map") } cfrom := canonicalize(from) if to != "" { // Don't canonicalize "", meaning to delete a file, because then it will turn into ".". to = canonicalize(to) } if otherFrom, seen := reverseCanonicalized[cfrom]; seen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocator.java
for (String subkey : subkeys) { try { String basePath = baseKey + REGISTRY_ROOTPATH_SDK + "\\" + subkey; File sdkDir = FileUtils.canonicalize(new File(windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, basePath, REGISTRY_FOLDER)));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
// Canonicalize allows an object to be mutated into a canonical form. This // ensures that code that operates on these objects can rely on the common // form for things like comparison. Canonicalize is invoked after // validation has succeeded but before the object has been persisted. // This method may mutate the object. Canonicalize(obj runtime.Object)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
} } private fun testParseAlreadyEncoded( codePoint: Int, encoding: Encoding, component: Component, ) { val expected = component.canonicalize(encoding.encode(codePoint)) val urlString = component.urlString(expected) val url = urlString.toHttpUrl() val actual = component.encodedValue(url) if (actual != expected) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
func (csrStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil } // Canonicalize normalizes the object after validation (which includes a signature check). func (csrStrategy) Canonicalize(obj runtime.Object) {} // ValidateUpdate is the default update validation for an end user.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0)