Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 146 for REWRITES (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

      const auto str_attr = attr.dyn_cast_or_null<mlir::StringAttr>();
      return str_attr &&
             (str_attr.getValue().find("COMPOSITE") != llvm::StringRef::npos);
    }
    }  // namespace
    
    // Rewrites unpartitioned resource reads and writes to partitioned resource
    // reads and writes. The TPU computation from the frontend is generated in such
    // a way that resource operations operate on the unpartitioned resource handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // types.
      virtual LogicalResult match(func::FuncOp entry_func_op,
                                  const Method& quantization_method) const = 0;
    
      // Rewrites the `entry_func_op`'s body.
      virtual void rewrite(func::FuncOp entry_func_op,
                           const Method& quantization_method,
                           PatternRewriter& rewriter) const = 0;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package rangefunc rewrites range-over-func to code that doesn't use range-over-funcs.
    Rewriting the construct in the front end, before noder, means the functions generated during
    the rewrite are available in a noder-generated representation for inlining by the back end.
    
    # Theory of Operation
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. src/testing/match.go

    			return s, 0
    		}
    	}
    
    	n, err := strconv.ParseInt(suffix, 10, 32)
    	if err != nil || n < 0 {
    		return s, 0
    	}
    	return prefix, int32(n)
    }
    
    // rewrite rewrites a subname to having only printable characters and no white
    // space.
    func rewrite(s string) string {
    	b := []byte{}
    	for _, r := range s {
    		switch {
    		case isSpace(r):
    			b = append(b, '_')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	// \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
    	// The extended form disables evaluation of . and .. path
    	// elements and disables the interpretation of / as equivalent
    	// to \. The conversion here rewrites / to \ and elides
    	// . elements as well as trailing or duplicate separators. For
    	// simplicity it avoids the conversion entirely for relative
    	// paths or paths containing .. elements. For now,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/links.go

    				Inner:  addSymbolLinksInlines(in.Inner, defaultPackage),
    			})
    		// Don't look for links in anything else.
    		default:
    			res = append(res, in)
    		}
    	}
    	return res
    }
    
    // splitAtBrackets rewrites ins so that every '[' and ']' is the only character
    // of its Plain.
    // For example, the element
    //
    //	[Plain("the [Buffer] is")]
    //
    // is rewritten to
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    sed -i "" \
      's/^\(import okhttp3\.[^.]*\)\.\([a-z][a-zA-Z]*\)$/\1.Companion.\2/g' \
      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Android Studio’s Advanced Profiling feature rewrites OkHttp bytecode for instrumentation.
    Unfortunately it crashes on OkHttp 4.x’s bytecode. Until [Google’s bug][advanced_profiling_bug] is
    fixed you must disable advanced profiling in Android Studio.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          return matchAndRewriteImplWithDynamicUpdateSlice(op, adaptor, rewriter);
        } else {
          return matchAndRewriteImplWithSliceAndConcat(op, adaptor, rewriter);
        }
      }
    
      // This function rewrites the original op into a series of slice and concat op
      // to produce the same result. It first slices the first `$index` rows. Then
      // expands the dimension of the `$item`, followed by another slice of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    	return t.rewriteResponse(req, resp)
    }
    
    var _ = net.RoundTripperWrapper(&Transport{})
    
    func (rt *Transport) WrappedRoundTripper() http.RoundTripper {
    	return rt.RoundTripper
    }
    
    // rewriteURL rewrites a single URL to go through the proxy, if the URL refers
    // to the same host as sourceURL, which is the page on which the target URL
    // occurred, or if the URL matches the sourceRequestHost.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // Bitcast op patterns.
    //===----------------------------------------------------------------------===//
    
    // Parameter attributes are part of function attributes, which is not affected
    // by pattern rewrites. Therefore we do not need to explicilty copy attributes
    // over.
    def BitcastSameType : Pat<
      (TF_BitcastOp:$res $arg),
      (replaceWithValue $arg),
      [(SingleResultAndOperandHaveSameElementType $res, $arg)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top