Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TaggedValue (0.09 sec)

  1. tensorflow/cc/experimental/libtf/value.h

      TaggedValue& operator=(TaggedValue&& v) {
        destroy();
        MoveIntoUnion(std::move(v));
        return *this;
      }
      /// Move constructor.
      TaggedValue(TaggedValue&& v) : type_(NONE) { MoveIntoUnion(std::move(v)); }
      /// Copy constructor.
      TaggedValue(const TaggedValue& v) : type_(NONE) { CopyIntoUnion(v); }
      /// Copy assignment operator.
      TaggedValue& operator=(const TaggedValue& v) {
        destroy();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/tests/function_test.cc

      Function tf_function;
      PartialTensorShape unknown_shape;
      TaggedValue signature(unknown_shape, DT_FLOAT);
      Status s = tf_function.RegisterTrace(std::move(trace), signature, signature);
      ASSERT_TRUE(s.ok()) << s.message();
      TaggedValue args = TaggedValue::Tuple();
      args.tuple().emplace_back(TaggedValue(x));
      args.tuple().emplace_back(TaggedValue(x));
      StatusOr<TaggedValue> v = tf_function.Execute(ctx_.get(), args);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/object.h

    inline TaggedValue::Type TypeToTaggedType<String>() {
      return TaggedValue::Type::STRING;
    }
    /// Retrieves tagged type of Callable handle.
    template <>
    inline TaggedValue::Type TypeToTaggedType<Callable>() {
      return TaggedValue::Type::FUNC;
    }
    /// Retrieves tagged type of Integer handle.
    template <>
    inline TaggedValue::Type TypeToTaggedType<Integer>() {
      return TaggedValue::Type::INT64;
    }
    /// Retrieves tagged type of Float handle.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
Back to top