Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for type (0.15 sec)

  1. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/c_api_test.cc

                name_and_attrs.attr().find("dtype")->second.type());
      TF_DeleteBuffer(serialized_attr_values);
    
      TFE_Op* var_op_2 = TFE_NewOp(ctx, "VarHandleOp", status);
    
      string serialized_dtype;
      ASSERT_TRUE(name_and_attrs.attr().find("dtype")->second.SerializeToString(
          &serialized_dtype));
      TFE_OpSetAttrValueProto(
          var_op_2, "dtype",
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top