Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for int32_t (0.05 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    		return !strings.ContainsAny(volname, `\:*?\"<>|`)
    	}
    
    	return true
    }
    
    // xlStorage - implements StorageAPI interface.
    type xlStorage struct {
    	// Indicate of NSScanner is in progress in this disk
    	scanning int32
    
    	drivePath string
    	endpoint  Endpoint
    
    	globalSync bool
    	oDirect    bool // indicates if this disk supports ODirect
    
    	diskID string
    
    	formatFileInfo  os.FileInfo
    	formatFile      string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top