Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for int32_t (0.06 sec)

  1. tensorflow/c/c_api_function_test.cc

          EXPECT_EQ(0, TF_NumDims(out));  // scalar
          ASSERT_EQ(sizeof(int32_t), TF_TensorByteSize(out));
          int32_t* output_contents = static_cast<int32_t*>(TF_TensorData(out));
          EXPECT_EQ(expected_results[i], *output_contents);
        }
      }
    
      void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) {
        int32_t* data = static_cast<int32_t*>(TF_TensorData(t));
        size_t size = TF_TensorByteSize(t);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      }
    }
    
    void TestEncodeDecode(int line, const std::vector<string>& data) {
      const int64_t n = data.size();
      absl::Status status;
      for (const std::vector<int64_t>& dims :
           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_SetAttrInt(TF_OperationDescription* desc,
                                             const char* attr_name, int64_t value);
    TF_CAPI_EXPORT extern void TF_SetAttrIntList(TF_OperationDescription* desc,
                                                 const char* attr_name,
                                                 const int64_t* values,
                                                 int num_values);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. common/scripts/metallb-native.yaml

                    format: int32
                    maximum: 255
                    minimum: 2
                    type: integer
                  echoInterval:
                    description: Configures the minimal echo receive transmission interval
                      that this system is capable of handling in milliseconds. Defaults
                      to 50ms
                    format: int32
                    maximum: 60000
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    			},
    		},
    	}
    }
    
    func (v *myProtoValue) keyAsString(key string) string {
    	s := v.keyAsStruct(key)
    	return s.GetStringValue()
    }
    
    func getIstioRBACPolicies(cd *configdump.Wrapper, port int32) ([]string, error) {
    	hcm, err := getInboundHTTPConnectionManager(cd, port)
    	if err != nil || hcm == nil {
    		return []string{}, err
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // second values with fractions must still have non-negative nanos values
      // that count forward in time. Must be from 0 to 999,999,999
      // inclusive. This field may be limited in precision depending on context.
      optional int32 nanos = 2;
    }
    
    // ObjectMeta is metadata that all persisted resources must have, which includes all objects
    // users must create.
    message ObjectMeta {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm.s

    //
    //	LTYPEM cond reg ',' reg ',' regreg
    //	{
    //		outcode($1, $2, &$3, int32($5.Reg), &$7);
    //	}
    	MULL	R1, R2, (R3,R4)
    
    //
    // MULA r1,r2,r3,r4: (r1*r2+r3) & 0xffffffff . r4
    // MULAW{T,B} r1,r2,r3,r4
    //
    //	LTYPEN cond reg ',' reg ',' reg ',' spreg
    //	{
    //		$7.Type = obj.TYPE_REGREG2;
    //		$7.Offset = int64($9);
    //		outcode($1, $2, &$3, int32($5.Reg), &$7);
    //	}
    	MULAWT	R1, R2, R3, R4
    //
    // PLD
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      std::vector<int64_t> dims(4, 1);
      TFE_Op* op = TFE_NewOp(ctx, "AvgPool", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TF_Tensor* tensor =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	c.getTypeIDs = make(map[string]bool)
    	c.incompleteStructs = make(map[string]bool)
    	c.bool = c.Ident("bool")
    	c.byte = c.Ident("byte")
    	c.int8 = c.Ident("int8")
    	c.int16 = c.Ident("int16")
    	c.int32 = c.Ident("int32")
    	c.int64 = c.Ident("int64")
    	c.uint8 = c.Ident("uint8")
    	c.uint16 = c.Ident("uint16")
    	c.uint32 = c.Ident("uint32")
    	c.uint64 = c.Ident("uint64")
    	c.uintptr = c.Ident("uintptr")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    			},
    			Prefixes: []string{"bbb_"},
    		},
    	}
    
    	testCases := []struct {
    		// Inputs to ListObjects.
    		bucketName string
    		prefix     string
    		marker     string
    		delimiter  string
    		maxKeys    int32
    		// Expected output of ListObjects.
    		result ListObjectsInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top