Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for split_at (0.29 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-BatchMatMulV2.mlir

    // CHECK:           [[CM2:%.*]] = arith.constant -2 : index
    // CHECK:           [[LHSHEAD:%.*]], [[LHSTAIL:%.*]] = "shape.split_at"([[LHSSHAPE]], [[CM2]])
    // CHECK:           [[RHSHEAD:%.*]], [[RHSTAIL:%.*]] = "shape.split_at"([[RHSSHAPE]], [[CM2]])
    // CHECK:           [[BCASTHEAD:%.*]] = shape.broadcast [[LHSHEAD]], [[RHSHEAD]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/os/export_unix_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || (js && wasm) || wasip1
    
    package os
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 241 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery.go

    }
    
    func (r *groupDiscoveryHandler) unsetDiscovery(group string) {
    	r.discoveryLock.Lock()
    	defer r.discoveryLock.Unlock()
    
    	delete(r.discovery, group)
    }
    
    // splitPath returns the segments for a URL path.
    func splitPath(path string) []string {
    	path = strings.Trim(path, "/")
    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, "/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 10:06:31 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformer.java

            return relativePath.length() == 0 ? "." : relativePath;
        }
    
        private String findRelativePath(String from, String to) {
            LinkedList<String> fromPath = splitPath(from);
            LinkedList<String> toPath = splitPath(to);
            List<String> relativePath = new ArrayList<String>();
    
            while (!fromPath.isEmpty() && !toPath.isEmpty() && fromPath.get(0).equals(toPath.get(0))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/os/path_unix.go

    )
    
    // IsPathSeparator reports whether c is a directory separator character.
    func IsPathSeparator(c uint8) bool {
    	return PathSeparator == c
    }
    
    // splitPath returns the base name and parent directory.
    func splitPath(path string) (string, string) {
    	// if no better parent is found, the path is relative from "here"
    	dirname := "."
    
    	// Remove all but one leading slash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

    bool NotFromDequant(mlir::Value value) {
      auto dequant_op = value.getDefiningOp<DequantizeOp>();
      if (dequant_op) {
        return false;
      }
      auto split_op = value.getDefiningOp<SplitOp>();
      if (!split_op) {
        return true;
      }
      return !split_op.getValue().getDefiningOp<DequantizeOp>();
    }
    
    // Optimize TFLite operations in functions.
    class OptimizeBatchMatmulPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.h

    };
    
    // Unroll split into a bunch of slice ops.
    struct UnrollSplit : public OpRewritePattern<TFL::SplitOp> {
      using OpRewritePattern<TFL::SplitOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::SplitOp split_op,
                                    PatternRewriter& rewriter) const override;
    };
    
    // Unroll splitv into a bunch of slice ops.
    struct UnrollSplitV : public OpRewritePattern<TFL::SplitVOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 03 16:37:16 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. src/os/removeall_at.go

    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    	defer parent.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. hack/boilerplate/boilerplate.py

                ):
                    print(line, file=verbose_out)
                print(file=verbose_out)
            return False
    
        return True
    
    
    def file_extension(filename):
        return os.path.splitext(filename)[1].split(".")[-1].lower()
    
    
    skipped_names = [
        "third_party",
        "_output",
        ".git",
        "cluster/env.sh",
        "vendor",
        "testdata",
        "test/e2e/generated/bindata.go",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top