- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 235 for newsize (2.55 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
cutil::SetElement(size, buffer, push.getTensor(), builder, push.getLoc()); auto new_size = builder.create<TF::AddV2Op>( push.getLoc(), ArrayRef<Type>{size.getType()}, ArrayRef<Value>{size, cutil::GetR1Const({1LL}, builder, push.getLoc())}); push.getOutputHandle().replaceAllUsesWith(new_buffer); (*buffer_to_size)[new_buffer] = {new_size, /*fixed=*/false}; push.erase(); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir
// CHECK-NEXT: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}> : () -> tensor<1xi32> // CHECK-NEXT: %[[NEW_SIZE:.*]] = "tf.AddV2"(%[[READ_SIZE]], %[[CONST1]]) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi32> // CHECK-NEXT: "tf.AssignVariableOp"(%[[SIZE]], %[[NEW_SIZE]]) : (tensor<!tf_type.resource<tensor<1xi32>>>, tensor<1xi32>) -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 25.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
auto new_size = builder.create<TF::SubOp>( pop.getLoc(), ArrayRef<Type>{size.getType()}, ArrayRef<Value>{size, cutil::GetR1Const({1}, builder, pop.getLoc())}); auto pop_val = cutil::GetElement(new_size, stack_val, builder, pop.getLoc()); pop.replaceAllUsesWith(pop_val); // Update the size. cutil::WriteLocalVariable(it->getSecond(), new_size, builder, pop.getLoc()); pop.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
acceptArg = false default: in.Error("bad definition for macro:", name) } } } var tokens []Token // Scan to newline. Backslashes escape newlines. for tok != '\n' { if tok == scanner.EOF { in.Error("missing newline in definition for macro:", name) } if tok == '\\' { tok = in.Stack.Next() if tok != '\n' && tok != '\\' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 12.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
t.Fatalf("%v: %v:\n%s", cmd.Args, err, out) } fi, err := os.Open(binFile) if err != nil { t.Fatalf("failed to open built file: %v", err) } defer fi.Close() elfFile, err := elf.NewFile(fi) if err != nil { t.Skip("The system may not support ELF, skipped.") } section := elfFile.Section(".dynsym") if section == nil { t.Fatal("no dynsym") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
apply { keyAlgorithm = "EC" keySize = 256 } /** * Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of * security. RSA keys are interoperable with very old clients that don't support ECDSA. */ fun rsa2048() = apply { keyAlgorithm = "RSA" keySize = 2048 } fun build(): HeldCertificate {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner_test.go
nlsemi = true } if nlsemi { got.next() if got.tok != _Semi { t.Errorf("%s: got tok %s; want ;", src, got.tok) continue } if got.lit != "newline" { t.Errorf("%s: got %s; want newline", src, got.lit) } } got.next() } if got.tok != _EOF { t.Errorf("got %q; want _EOF", got.tok) } } var sampleTokens = [...]struct { tok token
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:11:21 UTC 2022 - 21.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
@Synchronized fun requestCount(): Int = requestCount private inner class RealCacheRequest( private val editor: DiskLruCache.Editor, ) : CacheRequest { private val cacheOut: Sink = editor.newSink(ENTRY_BODY) private val body: Sink var done = false init { this.body = object : ForwardingSink(cacheOut) { @Throws(IOException::class) override fun close() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
t.Errorf("directive %s does not appear before definition %s", p.text, name) } } prevEnd = end } } type directiveInfo struct { text string // full text of the comment, not including newline name string // text after //go: offset int // byte offset of first slash in comment } func findDirectives(source []byte) []directiveInfo { var directives []directiveInfo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0) -
src/internal/xcoff/file.go
func Open(name string) (*File, error) { f, err := os.Open(name) if err != nil { return nil, err } ff, err := NewFile(f) if err != nil { f.Close() return nil, err } ff.closer = f return ff, nil } // Close closes the File. // If the File was created using NewFile directly instead of Open, // Close has no effect. func (f *File) Close() error { var err error if f.closer != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 14:42:29 UTC 2024 - 17.3K bytes - Viewed (0)