Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 295 for typeName (0.13 sec)

  1. tensorflow/cc/framework/gradient_checker.cc

    template <typename T, typename JAC_T>
    typename std::enable_if<std::is_floating_point<T>::value>::type SetJacobian(
        typename TTypes<JAC_T>::Matrix* jacobian, const int row, const int col,
        const T& value, const bool expand_by_row) {
      (*jacobian)(row, col) = JAC_T{value};
    }
    
    template <typename T, typename JAC_T>
    typename std::enable_if<is_complex<T>::value>::type SetJacobian(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    template <typename T, typename U>
    bool ArrayEq(const T* lhs, size_t size, const U* rhs);
    
    // This generic version is used when k is 0.
    template <typename T, typename U>
    inline bool ArrayEq(const T& lhs, const U& rhs) { return lhs == rhs; }
    
    // This overload is used when k >= 1.
    template <typename T, typename U, size_t N>
    inline bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N]) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    // include/gtest/gtest-param-test.h.
    template <typename ForwardIterator>
    internal::ParamGenerator<
      typename ::testing::internal::IteratorTraits<ForwardIterator>::value_type>
    ValuesIn(ForwardIterator begin, ForwardIterator end);
    
    template <typename T, size_t N>
    internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);
    
    template <class Container>
    internal::ParamGenerator<typename Container::value_type> ValuesIn(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler.h

      // shared_ptrs (an invasive change) would make the model easier to reason
      // about?
    }
    
    template <typename ExecutableType, typename ClientType>
    string DeviceCompiler<ExecutableType, ClientType>::DebugString() const {
      return "DeviceCompiler";
    }
    
    template <typename ExecutableType, typename ClientType>
    Status DeviceCompiler<ExecutableType, ClientType>::CompileIfNeeded(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h

      Renderer &CodeLines(const string &text);
      template <typename... Args>
      Renderer CodeLines(absl::string_view text, const Args &...args) {
        return CodeLines(absl::Substitute(text, args...));
      }
    
      // Indent and append a C++ statement.
      // Note: do *not* include a trailing semicolon in the statement text.
      Renderer &Statement(const string &text);
      template <typename... Args>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/TypeUtils.java

            return PRIMITIVE_TYPES_DEFAULT_VALUES_AS_STRING.getOrDefault(type, "null");
        }
    
        /**
         * Converts an ASM {@link Type} to a JavaPoet {@link TypeName}.
         */
        public static TypeName typeName(Type type) {
            if (type.equals(Type.VOID_TYPE)) {
                return ClassName.VOID;
            }
            if (type.equals(Type.BOOLEAN_TYPE)) {
                return ClassName.BOOLEAN;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 15:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/base/tests/tensor_test.cc

      EXPECT_EQ(tensor.dims(), 0);
      EXPECT_EQ(tensor.dtype(), dtype);
      EXPECT_EQ(*reinterpret_cast<typename TypeParam::type*>(tensor.data()), 42);
      EXPECT_EQ(tensor.num_bytes(), sizeof(typename TypeParam::type));
      EXPECT_EQ(tensor.num_elements(), 1);
    }
    
    template <typename T>
    class Construct1DTensorTest : public ::testing::Test {};
    TYPED_TEST_SUITE(Construct1DTensorTest, SimpleTypes);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // type from the `element_type`.
    Type CloneTypeWithNewElementType(Type old_type, Type element_type);
    
    // Creates an array with integer/float type.
    template <typename T,
              typename = std::enable_if_t<
                  (std::is_integral_v<T> || std::is_same_v<T, float>), void>>
    Value CreateConstValue(OpBuilder& builder, const Location loc,
                           const SmallVector<int64_t>& shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_executable_persistor.h

              : "");
    }
    
    template <typename ExecutableType, typename ClientType>
    std::string DeviceExecutablePersistor<ExecutableType, ClientType>::GetFilePath(
        const XlaSerializedCacheKey& key) const {
      const std::string file_name =
          absl::StrCat(XlaSerializedCacheKeyToString(key), ".pb");
      return io::JoinPath(persistent_cache_directory_, file_name);
    }
    
    template <typename ExecutableType, typename ClientType>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

                                              const char* file, int line);
    
    template <typename> class ParamGeneratorInterface;
    template <typename> class ParamGenerator;
    
    // Interface for iterating over elements provided by an implementation
    // of ParamGeneratorInterface<T>.
    template <typename T>
    class ParamIteratorInterface {
     public:
      virtual ~ParamIteratorInterface() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top