Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for split_at (0.15 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. docs/debugging/xl-meta/main.go

    										}
    									}
    									reconstructAbleConfig = valid >= m.data-hasParity && valid < m.data
    									startOffset = offset
    									offset++
    									continue
    								}
    								for shardIdx, ok := range shardConfig {
    									if ok != 0 {
    										shards[shardIdx] = append(shards[shardIdx], splitData[shardIdx][offset])
    									}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

    LogicalResult UnrollSplit::matchAndRewrite(TFL::SplitOp split_op,
                                               PatternRewriter& rewriter) const {
      auto num_splits = split_op.getNumSplits();
      auto input = split_op.getValue();
      auto input_type = mlir::dyn_cast<RankedTensorType>(input.getType());
      if (input_type == nullptr || !input_type.hasStaticShape()) return failure();
    
      for (auto result : split_op.getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      }
    
      // Creates a split op that splits |src_input| along |split_dimension|.
      llvm::SmallVector<mlir::Type, 4> output_types(num_split, output_type);
      *split_op = builder->create<mlir::TF::SplitOp>(
          location, output_types, split_dimension_op.getOutput(), src_input);
      (*split_op)->setAttr(
          kNumSplitAttr,
          builder->getIntegerAttr(builder->getIntegerType(32), num_split));
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    }
    
    func header() http.Header {
    	header := http.Header{}
    	header.Set("Content-Type", runtime.ContentTypeJSON)
    	return header
    }
    
    // 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: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
Back to top