- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for split_at (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go
func RequestInfoFrom(ctx context.Context) (*RequestInfo, bool) { info, ok := ctx.Value(requestInfoKey).(*RequestInfo) return info, ok } // 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: Mon Jan 23 13:24:29 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java
BY_PATH = new Cache(ROOT); } private final String path; private final String[] components; private final ModelPath parent; public ModelPath(String path) { this(path, splitPath(path)); } private ModelPath(String path, String[] components) { // one should really avoid using this constructor as it is totally inefficient
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.2K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
%size_splits = arith.constant dense<[]> : tensor<0xi32> %split_dim = arith.constant dense<0> : tensor<i32> // expected-error @+1 {{'tfl.split_v' op attribute 'num_splits' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive}} "tfl.split_v"(%arg0, %size_splits, %split_dim) {num_splits = 0 : i32} : (tensor<16xf32>, tensor<0xi32>, tensor<i32>) -> () func.return } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/device-transform-gpu.mlir
%2:3 = "tfl.split_v"(%arg0, %0, %1) {num_splits = 3 : i32} : (tensor<?x13x13x85xf32>, tensor<3xi32>, tensor<i32>) -> (tensor<*xf32>, tensor<*xf32>, tensor<*xf32>) func.return %2#0, %2#1, %2#2 : tensor<*xf32>, tensor<*xf32>, tensor<*xf32> } // CHECK-LABEL: @unrollSplitVUnknownRankResults // CHECK-NOT: "tfl.slice" // CHECK: "tfl.split_v" // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/config.go
// Extract the host from the headers and then remove it. c.hostHeader = c.headers.Get(hostHeader) c.headers.Del(hostHeader) c.urlHost, c.urlPath = splitPath(c.Request.Url) c.method = c.Request.Method if c.method == "" { c.method = "GET" } if i := strings.IndexByte(c.Request.Url, ':'); i > 0 { c.scheme = scheme.Instance(strings.ToLower(c.Request.Url[0:i]))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 9.8K bytes - Viewed (0) -
cmd/iam-object-store.go
policyDBUsersListKey = "policydb/users/" policyDBSTSUsersListKey = "policydb/sts-users/" policyDBGroupsListKey = "policydb/groups/" ) // splitPath splits a path into a top-level directory and a child item. The // parent directory retains the trailing slash. func splitPath(s string, lastIndex bool) (string, string) { var i int if lastIndex { i = strings.LastIndex(s, "/") } else { i = strings.Index(s, "/") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 19.5K bytes - Viewed (0) -
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) -
hack/boilerplate/boilerplate.py
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 7.2K bytes - Viewed (0)