Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unspecified (0.17 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      }
      Status SetAttrType(const char* const attr_name, DataType value) override {
        if (!op_) {
          return Status(
              absl::StatusCode::kFailedPrecondition,
              "op_type and op_name must be specified before specifying attrs.");
        }
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
      Status SetAttrShape(const char* attr_name, const int64_t* dims,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", -1, TF_ATTR_SHAPE, -1);
      TF_OperationGetAttrShape(oper, "v", nullptr, 10, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Partially specified shape
      const int64_t partial_shape[] = {17, -1};
      const size_t sz = TF_ARRAYSIZE(partial_shape);
      desc = init("shape");
      TF_SetAttrShape(desc, "v", partial_shape, sz);
      oper = TF_FinishOperation(desc, s_);
    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)
Back to top