Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for puntos (0.3 sec)

  1. tensorflow/c/c_api.cc

      }
    }
    
    void TF_SetAttrTensorShapeProtoList(TF_OperationDescription* desc,
                                        const char* attr_name,
                                        const void* const* protos,
                                        const size_t* proto_lens, int num_shapes,
                                        TF_Status* status) {
      std::vector<TensorShapeProto> shapes;
      shapes.resize(num_shapes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

                  {"add1:sum:0", "internal_out"},
                  {"add2:sum:0", "final_out"}},
                 {});
    }
    
    TEST_F(CApiFunctionTest, ImportFunctionDef_InvalidProto) {
      // Invalid protobuf data (protos cannot start with 4 bytes of zeros)
      char proto[] = {0x0, 0x0, 0x0, 0x0};
      func_ = TF_FunctionImportFunctionDef(proto, 4, s_);
      EXPECT_TRUE(func_ == nullptr);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top