Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for adim (0.13 sec)

  1. tensorflow/c/eager/dlpack.cc

      dlm_tensor->dl_tensor.device = tf_dlm_context;
      int ndim = tensor->dims();
      dlm_tensor->dl_tensor.ndim = ndim;
      dlm_tensor->dl_tensor.data = tf_dlm_data;
      dlm_tensor->dl_tensor.dtype = tf_dlm_type;
    
      std::vector<int64_t>* shape_arr = &tf_dlm_tensor_ctx->shape;
      std::vector<int64_t>* stride_arr = &tf_dlm_tensor_ctx->strides;
      shape_arr->resize(ndim);
      stride_arr->resize(ndim, 1);
      for (int i = 0; i < ndim; i++) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. docs/tr/docs/tutorial/first-steps.md

    Ayrıca, API'ınızla iletişim kuracak önyüz, mobil veya IoT uygulamaları gibi istemciler için otomatik olarak kod oluşturabilirsiniz.
    
    ## Adım Adım Özetleyelim
    
    ### Adım 1: `FastAPI`yı Projemize Dahil Edelim
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI`, API'niz için tüm işlevselliği sağlayan bir Python sınıfıdır.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	_, ok = ps[policy2]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	err = s.adm.RemoveUser(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("user could not be deleted: %v", err)
    	}
    
    	err = s.adm.RemoveCannedPolicy(ctx, policy1)
    	if err != nil {
    		c.Fatalf("policy del err: %v", err)
    	}
    
    	err = s.adm.RemoveCannedPolicy(ctx, policy2)
    	if err != nil {
    		c.Fatalf("policy del err: %v", err)
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->device.device_id, dltensor_in->device.device_id);
      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. architecture/standards/0001-use-architectural-decision-records.md

    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
    occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    
    ## Decision
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/unified_api_test.cc

            "Tensor expected to have rank 2 found rank: ", shape.dims());
      }
      int64_t dim_sizes[] = {2, 4};
      for (int i = 0; i < shape.dims(); i++) {
        if (shape.dim_size(i) != dim_sizes[i]) {
          return errors::InvalidArgument("Dim ", i, " expected to be of size ",
                                         dim_sizes[i],
                                         " found: ", shape.dim_size(i));
        }
      }
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users-race_test.go

       ]
      }
     ]
    }`, bucket))
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	userCount := 50
    	accessKeys := make([]string, userCount)
    	secretKeys := make([]string, userCount)
    	for i := 0; i < userCount; i++ {
    		accessKey, secretKey := mustGenerateCredentials(c)
    		err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/grad_test_helper.cc

      auto num_dims_analytical = TF_NumDims(analytical_tensor);
      ASSERT_EQ(dims.size(), num_dims_analytical);
      for (int j = 0; j < num_dims_analytical; j++) {
        auto dim_analytical = TF_Dim(analytical_tensor, j);
        ASSERT_EQ(dims[j], dim_analytical);
        num_elem_analytical *= dim_analytical;
      }
    
      float* danalytical = new float[num_elem_analytical]{0};
      memcpy(&danalytical[0], TF_TensorData(analytical_tensor),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

       "Resource": [
        "arn:aws:s3:::${aws:username}-*"
       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // ImmediateExecutionTensorHandles, but comes up for example when computing
      // the shape of a parallel tensor with component shapes differing across
      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
      virtual const char* DeviceName(Status* status) const = 0;
      // Returns the device where the tensor was placed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top