- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 372 for Strip (0.05 sec)
-
ci/official/utilities/extract_resultstore_links.py
if not elem.text or not elem.text.strip(): elem.text = indent_str + ' ' if not elem.tail or not elem.tail.strip(): elem.tail = indent_str for elem in elem: indent_xml(elem, level + 1) if not elem.tail or not elem.tail.strip(): elem.tail = indent_str else: if level and (not elem.tail or not elem.tail.strip()): elem.tail = indent_str
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc
struct StripNoinlineAttributePass : public impl::StripNoinlineAttributePassBase<StripNoinlineAttributePass> { public: // void runOnOperation() override; void runOnOperation() override { // Strip the "tf._noinline" attribute from top-level functions. for (auto func_op : getOperation().getOps<func::FuncOp>()) func_op->removeAttr("tf._noinline"); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/strip_tf_attributes.mlir
// RUN: tf-opt %s -allow-unregistered-dialect --tf-strip-tf-attributes --split-input-file | FileCheck %s // CHECK-LABEL: strips_attributes // CHECK-NOT: tf func.func @strips_attributes(%arg0: tensor<32x28x28x1xf32> {tf._user_specified_name = "x"}, %arg1: tensor<3x3x1x5xf32> {tf._user_specified_name = "w1"}, %arg2: tensor<5xf32> {tf._user_specified_name = "b1"},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 25 20:04:10 UTC 2022 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go
return } // Unpointer returns T given *T or an alias thereof. // For all other types it is the identity function. // It does not look at underlying types. // The result may be an alias. // // Use this function to strip off the optional pointer on a receiver // in a field or method selection, without losing the named type // (which is needed to compute the method set). // // See also [typeparams.MustDeref], which removes one level of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue22660.go
"strings" ) func main() { f, err := ioutil.TempFile("", "issue22660.go") if err != nil { log.Fatal(err) } f.Close() defer os.Remove(f.Name()) // path must appear in error messages even if we strip them with -trimpath path := filepath.Join("users", "xxx", "go") var src bytes.Buffer fmt.Fprintf(&src, "//line %s:1\n", filepath.Join(path, "foo.go")) if err := ioutil.WriteFile(f.Name(), src.Bytes(), 0660); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/internal/gover/gomod.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:31:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/parse.go
// syntax, but allows the minor and patch versions to be elided. // // This is a copy of the Go runtime's parseRelease from // https://golang.org/cl/209597. func parseRelease(rel string) (major, minor, patch int, ok bool) { // Strip anything after a dash or plus. for i := 0; i < len(rel); i++ { if rel[i] == '-' || rel[i] == '+' { rel = rel[:i] break } } next := func() (int, bool) { for i := 0; i < len(rel); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 17:48:21 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/insecure.go
// The insecure-redirect handler implementation doesn't depend or dir or env. // // The only effect of the directory is to determine which prefix the caller // will strip from the request before passing it on to this handler. return h, nil } func (h *insecureHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { if req.Host == "" && req.URL.Host == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:22:22 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/versions.go
// stripGo converts from a "go1.21" version to a "1.21" version. // If v does not start with "go", stripGo returns the empty string (a known invalid version). func stripGo(v string) string { v, _, _ = strings.Cut(v, "-") // strip -bigcorp suffix. if len(v) < 2 || v[:2] != "go" { return "" } return v[2:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2K bytes - Viewed (0) -
src/io/fs/format.go
// // d subdir/ // - hello.go func FormatDirEntry(dir DirEntry) string { name := dir.Name() b := make([]byte, 0, 5+len(name)) // The Type method does not return any permission bits, // so strip them from the string. mode := dir.Type().String() mode = mode[:len(mode)-9] b = append(b, mode...) b = append(b, ' ') b = append(b, name...) if dir.IsDir() { b = append(b, '/') } return string(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 1.7K bytes - Viewed (0)