Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for to_tensor (0.08 sec)

  1. RELEASE.md

        *   Add `RaggedTensor.merge_dims()`.
        *   Added new `uniform_row_length` row-partitioning tensor to
            `RaggedTensor`.
        *   Add `shape` arg to `RaggedTensor.to_tensor`; Improve speed of
            `RaggedTensor.to_tensor`.
        *   `tf.io.parse_sequence_example` and `tf.io.parse_single_sequence_example`
            now support ragged features.
        *   Fix `while_v2` with variables in custom gradient.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Tensor* expected_out0 = expected_csession->output_tensor(0);
        TF_Tensor* expected_out1 = expected_csession->output_tensor(1);
    
        CompareTensors(out0, expected_out0);
        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/BUILD

        name = "tf_tensor_hdrs",
        hdrs = [
            "tf_tensor.h",
            "tf_tensor_helper.h",
        ],
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros_hdrs",
            ":tf_datatype_hdrs",
            ":tf_status_headers",
            "//tensorflow/core/platform:status",
        ],
    )
    
    cc_library(
        name = "tf_tensor",
        srcs = ["tf_tensor.cc"],
        hdrs = [
            "tf_tensor.h",
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    }  // namespace tensorflow
    
    static void TF_Run_Setup(int noutputs, TF_Tensor** c_outputs,
                             TF_Status* status) {
      status->status = absl::OkStatus();
      for (int i = 0; i < noutputs; ++i) {
        c_outputs[i] = nullptr;
      }
    }
    
    // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE.
    // In the TFv1 convention, TF_Tensor can hold a string serialization of
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

            binary_proto_buf.data(), binary_proto_buf.size(), status);
        if (!status->status.ok()) return {};
        ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction));
      }
      return ret;
    }
    
    TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id,
                                     TF_Status* status) {
      assert(session);
      {
        tensorflow::mutex_lock c(session->graph->mu);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  6. ci/official/utilities/repack_libtensorflow.sh

      cp tensorflow/c/c_api.h \
        tensorflow/c/tf_attrtype.h \
        tensorflow/c/tf_buffer.h  \
        tensorflow/c/tf_datatype.h \
        tensorflow/c/tf_status.h \
        tensorflow/c/tf_tensor.h \
        tensorflow/c/tf_tensor_helper.h \
        tensorflow/c/tf_tstring.h \
        tensorflow/c/tf_file_statistics.h \
        tensorflow/c/tensor_interface.h \
        tensorflow/c/c_api_macros.h \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:25:18 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top