Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanFoo (0.11 sec)

  1. pkg/ledger/smt_test.go

    	smt2 := newSMT(hasher, nil, time.Minute)
    	ch = make(chan result, 1)
    	smt2.update(smt2.root, keys[1:], values[1:], nil, 0, smt.trieHeight, false, true, ch)
    	res = <-ch
    	cleanRoot := res.update
    	if !bytes.Equal(newRoot, cleanRoot) {
    		t.Fatal("roots mismatch")
    	}
    
    	// Empty the trie
    	var newValues [][]byte
    	for i := 0; i < 10; i++ {
    		newValues = append(newValues, defaultLeaf)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc

      RETURN_FAILURE_IF_ERROR(node_def_or.status());
      const auto& node_def = node_def_or.value();
    
      TFE_Op* op = TFE_NewOp(context, node_def->op().c_str(), status);
      RETURN_FAILURE_IF_ERROR(status);
      auto clean_op = MakeCleanup([op] { TFE_DeleteOp(op); });
    
      // Explicitly set device to Host CPU instead of the device present in device
      // attribute of the MLIR op. The assigned device might be remote, not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top