Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for num_elements (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    input_handle: the input list
    tensor: the gathered result
    num_elements: optional. If not -1, the number of elements in the list.
      }];
    
      let arguments = (ins
        TF_VariantTensor:$input_handle,
        TF_Int32Tensor:$element_shape,
    
        DefaultValuedOptionalAttr<I64Attr, "-1">:$num_elements
      );
    
      let results = (outs
        TF_Tensor:$tensor
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	if err == nil || !errors.IsAlreadyExists(err) {
    		t.Error("Expected already exists error")
    	}
    }
    
    func TestNewCreateOptionsFromUpdateOptions(t *testing.T) {
    	f := fuzz.New().NilChance(0.0).NumElements(1, 1)
    
    	// The goal here is to trigger when any changes are made to either
    	// CreateOptions or UpdateOptions types, so we can update the converter.
    	for i := 0; i < 20; i++ {
    		in := &metav1.UpdateOptions{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        status->status = result;
        return;
      }
    
      // Store results in c_outputs[]
      for (int i = 0; i < noutputs; ++i) {
        const Tensor& src = outputs[i];
        if (!src.IsInitialized() || src.NumElements() == 0) {
          c_outputs[i] =
              EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape());
          continue;
        }
        c_outputs[i] = TF_TensorFromTensor(src, &status->status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    	seed := int64(5577006791947779410)
    	f := fuzzer.FuzzerFor(fuzzerFuncs, rand.NewSource(seed), codecs)
    	// fuzz internal types
    	schema := &apiextensions.JSONSchemaProps{}
    	f.NilChance(0).NumElements(10, 10).MaxDepth(10).Fuzz(schema)
    
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		if SchemaHas(schema, func(_ *apiextensions.JSONSchemaProps) bool {
    			return false
    		}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top