Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 280 for Canonicalize (0.54 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/parallel_execute_util.h

    //   means BuildSingletonParallelExecuteOp will be used in one location, and
    //   RemoveSingletonParallelExecuteOp can be removed.
    
    // Wrap `cluster_func` in a `ParallelExecute` with only one child. This
    // can be used to canonicalize IR, so there is always one `ParallelExecute`.
    tf_device::ParallelExecuteOp BuildParallelExecuteOp(
        tf_device::ClusterFuncOp cluster_func, OpBuilder* builder);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_identity_propagation.mlir

    // RUN: tf-tfrt-opt %s -tf-identity-propagation -canonicalize | FileCheck %s
    
    // CHECK-LABEL: func @identity
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    func.func @identity(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT: "tf.Identity"
      %0 = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
      // CHECK: return %[[ARG0]]
      func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @identity_terminator
    // CHECK-SAME:    (%[[ARG0:.*]]: tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Mar 23 23:34:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/abi.go

    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    // s's maps. Symbols in this package may be written either as "".X or
    // with the package's import path already in the symbol. This rewrites
    // both to use the full path, which matches compiler-generated linker
    // symbol names.
    func (s *SymABIs) canonicalize(linksym string) string {
    	if strings.HasPrefix(linksym, `"".`) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FileCopyAction.java

                    didWork = true;
                }
            }
    
            private void renameIfCaseChanged(File target) {
                if (target.exists()) {
                    File canonicalizedTarget = FileUtils.canonicalize(target);
                    if (!Objects.equals(target.getName(), canonicalizedTarget.getName())) {
                        canonicalizedTarget.renameTo(target);
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 17:00:04 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/language/parse.go

    // The resulting tag is canonicalized using the canonicalization type c.
    func (c CanonType) Parse(s string) (t Tag, err error) {
    	defer func() {
    		if recover() != nil {
    			t = Tag{}
    			err = language.ErrSyntax
    		}
    	}()
    
    	tt, err := language.Parse(s)
    	if err != nil {
    		return makeTag(tt), err
    	}
    	tt, changed := canonicalize(c, tt)
    	if changed {
    		tt.RemakeString()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    }
    
    // AllowUnconditionalUpdate is the default update policy for CustomResourceDefinition objects.
    func (strategy) AllowUnconditionalUpdate() bool {
    	return false
    }
    
    // Canonicalize normalizes the object after validation.
    func (strategy) Canonicalize(obj runtime.Object) {
    }
    
    // ValidateUpdate is the default update validation for an end user updating status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc

            new_broadcast_shape);
        return success();
      }
    };
    
    #define GEN_PASS_DEF_TENSORFLOWOPTIMIZEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // Canonicalize operations in functions.
    struct TensorFlowOptimizePass
        : public impl::TensorFlowOptimizePassBase<TensorFlowOptimizePass> {
      LogicalResult initialize(MLIRContext *context) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. pkg/registry/networking/ingress/strategy.go

    		warnings = append(warnings, fmt.Sprintf("annotation %q is deprecated, please use 'spec.ingressClassName' instead", annotationIngressClass))
    	}
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (ingressStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for Ingress; this means POST is needed to create one.
    func (ingressStrategy) AllowCreateOnUpdate() bool {
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 01:42:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. pkg/registry/flowcontrol/flowschema/strategy.go

    func (flowSchemaStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    // Canonicalize normalizes the object after validation.
    func (flowSchemaStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (flowSchemaStrategy) AllowUnconditionalUpdate() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2exec/tfl_while_op.mlir

    // Test to verify translation & export work as intended with runtime.
    
    // RUN: tf-opt --mlir-print-debuginfo --canonicalize --tfl-while-loop-outline %s | mlir-tflite-runner --dump-interpreter-state 2>&1 | FileCheck %s
    
    // Verify value computed:
    // ----------------------
    // CHECK: result: Tensor<type: FLOAT32, shape: 1, values: 96>
    // CHECK: pconst: Tensor<type: INT32, shape: , values: 1>
    
    // Verify tensors in interpreter state:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 19 17:11:31 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top