Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 841 for point$ (0.22 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device.cc

    TensorHandlePtr ParallelTensorToTensorHandle(
        const std::string& parallel_device_name, TFE_Context* context,
        std::unique_ptr<ParallelTensor> t, TF_Status* status) {
      // The resulting TensorHandle owns an opaque pointer to "device memory", which
      // for a ParallelDevice is really a ParallelTensor. When the TensorHandle is
      // deleted, it will call ParallelTensorDeallocator to free the struct.
      ParallelTensor* t_released = t.release();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            this.runnable = runnable;
            this.executor = executor;
            this.next = next;
          }
        }
      }
    
      // A version of the ExecutionList that uses an explicit tail pointer to keep the nodes in order
      // rather than flipping the stack in execute().
      private static final class NewExecutionListQueue {
        static final Logger log = Logger.getLogger(NewExecutionListQueue.class.getName());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. cmd/peer-s3-client.go

    			peers[i] = newPeerS3Client(node)
    		}
    		peers[i].SetPools(node.Pools)
    	}
    
    	return peers
    }
    
    // Returns a peer S3 client.
    func newPeerS3Client(node Node) peerS3Client {
    	var gridConn atomic.Pointer[grid.Connection]
    
    	return &remotePeerS3Client{
    		node: node,
    		gridConn: func() *grid.Connection {
    			// Lazy initialization of grid connection.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
    
    当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
    
    当你使用 `yield` 创建一个依赖项时,**FastAPI** 会在内部将其转换为上下文管理器,并与其他相关工具结合使用。
    
    ### 在使用 `yield` 的依赖项中使用上下文管理器
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    		return err
    	}
    
    	// Build Go for Android.
    	cmd = exec.Command(goTool, "install", "cmd")
    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		if len(bytes.TrimSpace(out)) > 0 {
    			log.Printf("\n%s", out)
    		}
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	if err := adb("exec-out", "mkdir", "-p", deviceGoroot); err != nil {
    		return err
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // `items` is a list of request-priorities.
      repeated PriorityLevelConfiguration items = 2;
    }
    
    // PriorityLevelConfigurationReference contains information that points to the "request-priority" being used.
    message PriorityLevelConfigurationReference {
      // `name` is the name of the priority level configuration being referenced
      // Required.
      optional string name = 1;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // `items` is a list of request-priorities.
      repeated PriorityLevelConfiguration items = 2;
    }
    
    // PriorityLevelConfigurationReference contains information that points to the "request-priority" being used.
    message PriorityLevelConfigurationReference {
      // `name` is the name of the priority level configuration being referenced
      // Required.
      optional string name = 1;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. cmd/background-newdisks-heal-ops.go

    		} else {
    			healingLogEvent(ctx, "Healing of drive '%s' is finished (healed: %d, skipped: %d).", disk, tracker.ItemsHealed, tracker.ItemsSkipped)
    		}
    	}
    	if serverDebugLog {
    		tracker.printTo(os.Stdout)
    		fmt.Printf("\n")
    	}
    
    	if tracker.HealID == "" { // HealID was empty only before Feb 2023
    		bugLogIf(ctx, tracker.delete(ctx))
    		return nil
    	}
    
    	// Remove .healing.bin from all disks with similar heal-id
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. tests/hooks_test.go

    		return err
    	}
    	return nil
    }
    
    func TestPropagateUnscoped(t *testing.T) {
    	_DB, err := OpenTestConnection(&gorm.Config{
    		PropagateUnscoped: true,
    	})
    	if err != nil {
    		log.Printf("failed to connect database, got error %v", err)
    		os.Exit(1)
    	}
    
    	_DB.Migrator().DropTable(&Product6{}, &ProductItem2{})
    	_DB.AutoMigrate(&Product6{}, &ProductItem2{})
    
    	p := Product6{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. lib/wasm/wasm_exec.js

    						delete this._values;
    						delete this._goRefCounts;
    						delete this._ids;
    						delete this._idPool;
    						this.exit(code);
    					},
    
    					// func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)
    					"runtime.wasmWrite": (sp) => {
    						sp >>>= 0;
    						const fd = getInt64(sp + 8);
    						const p = getInt64(sp + 16);
    						const n = this.mem.getInt32(sp + 24, true);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top