Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tf_attrtype (0.06 sec)

  1. tensorflow/c/BUILD

            ],
            ("//tensorflow:chromiumos", "//tensorflow:fuchsia"): [
                ":tf_attrtype",
                "//tensorflow/core:core_cpu",
                "//tensorflow/core:framework",
                "//tensorflow/core:lib",
                "//tensorflow/core/platform:platform",
            ],
            "//conditions:default": [
                ":tf_attrtype",
                "//tensorflow/core:core_cpu",
                "//tensorflow/core:framework",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Nov 02 06:47:06 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

                                                TF_Status* status) {
      return tensorflow::wrap(tensorflow::unwrap(op)->GetInputs()[index]);
    }
    
    TF_AttrType TFE_OpGetAttrType(TFE_Op* op, const char* attr_name,
                                  unsigned char* is_list, TF_Status* status) {
      TF_AttrType ret = TF_ATTR_INT;
      const tensorflow::AttrTypeMap* attr_types_;
      bool is_function;
      status->status = tensorflow::AttrTypeMapForOp(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        SINGLE_CASE(kS, TF_ATTR_STRING, attr->s().length());
        SINGLE_CASE(kI, TF_ATTR_INT, -1);
        SINGLE_CASE(kF, TF_ATTR_FLOAT, -1);
        SINGLE_CASE(kB, TF_ATTR_BOOL, -1);
        SINGLE_CASE(kType, TF_ATTR_TYPE, -1);
        SINGLE_CASE(kShape, TF_ATTR_SHAPE,
                    attr->shape().unknown_rank() ? -1 : attr->shape().dim_size());
        SINGLE_CASE(kTensor, TF_ATTR_TENSOR, -1);
    #undef SINGLE_CASE
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      auto desc = init("type");
      TF_SetAttrType(desc, "v", TF_COMPLEX128);
    
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_TYPE, -1);
    
      TF_DataType value;
      TF_OperationGetAttrType(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(TF_COMPLEX128, value);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top