Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 506 for capi (0.27 sec)

  1. tensorflow/c/eager/c_api_remote_function_test.cc

                                           remote_func_outputs, has_packed_input);
    }
    
    TEST(CAPI, RemoteExecuteSilentCopiesAsyncFunc) {
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/true,
                                        /*heavy_load_on_streaming_rpc=*/false);
    }
    TEST(CAPI, RemoteExecuteSilentCopiesFuncRemoteOutputs) {
      TestRemoteExecuteSilentCopiesFunc(/*async=*/false, /*remote=*/true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. pkg/controller/certificates/approver/sarapprove.go

    }
    
    func appendApprovalCondition(csr *capi.CertificateSigningRequest, message string) {
    	csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{
    		Type:    capi.CertificateApproved,
    		Status:  corev1.ConditionTrue,
    		Reason:  "AutoApproved",
    		Message: message,
    	})
    }
    
    func isNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteContext(ctx);
    }
    TEST(CAPI, TensorHandleSilentCopy) {
      TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyAsync) {
      TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_SILENT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicy) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  4. pkg/controller/certificates/cleaner/cleaner.go

    // expiration of the certificate (the NotAfter value) has passed.
    func isIssuedExpired(logger klog.Logger, csr *capi.CertificateSigningRequest) bool {
    	for _, c := range csr.Status.Conditions {
    		if c.Type == capi.CertificateApproved && isIssued(csr) && isExpired(csr) {
    			logger.Info("Cleaning CSR as the associated certificate is expired.", "csr", csr.Name)
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental_reader_test.cc

                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. pkg/test/csrctrl/signer/signer.go

    // limitations under the License.
    
    // Package signer implements a CA signer that uses keys stored on local disk.
    package signer
    
    import (
    	"bytes"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	capi "k8s.io/api/certificates/v1"
    
    	"istio.io/istio/pkg/test/csrctrl/authority"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type Signer struct {
    	caProvider *caProvider
    	CertTTL    time.Duration
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(22, product[3]);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Executor_MatMul_CPU) { Executor_MatMul_CPU(false); }
    TEST(CAPI, Executor_MatMul_CPUAsync) { Executor_MatMul_CPU(true); }
    
    void Deleter(void* data, size_t unused, void* tensor_handle) {
      TFE_DeleteTensorHandle(static_cast<TFE_TensorHandle*>(tensor_handle));
    }
    
    TEST(CAPI, TensorHandleOnDeviceMemory) {
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, Session_Min_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/false); }
    
    TEST(CAPI, Session_Min_XLA_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/true); }
    
    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContext(ctx);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    }
    
    TEST(CAPI, RemoteExecuteChangeServerDef) {
      TestRemoteExecuteChangeServerDef(false);
    }
    TEST(CAPI, RemoteExecuteChangeServerDefAsync) {
      TestRemoteExecuteChangeServerDef(true);
    }
    
    void TestRemoteExecuteUpdateServerDef(bool async) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_distributed_test.cc

      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
      worker_server2.release();
    }
    
    TEST(CAPI, TestLocalFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/false);
    }
    
    TEST(CAPI, TestRemoteFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/true);
    }
    
    string VariableAddFunctionSignature() {
      return "    signature {"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top