Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for tensors_ (0.18 sec)

  1. tensorflow/c/c_api_experimental.cc

          input_tensors_vector[i] = &input_tensor;
        }
      }
    
      // Create an inference context with dummy values, which will be updated later.
      InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def,
                         std::vector<ShapeHandle>(num_inputs), input_tensors_vector,
                         {},
                         std::vector<std::unique_ptr<std::vector<ShapeAndType>>>());
    
      // Set input_shapes.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      }
    
      // Populate return_tensors
      DCHECK(tf_results->return_tensors.empty());
      tf_results->return_tensors.resize(results.return_tensors.size());
      for (int i = 0; i < results.return_tensors.size(); ++i) {
        tf_results->return_tensors[i].oper =
            ToOperation(results.return_tensors[i].first);
        tf_results->return_tensors[i].index = results.return_tensors[i].second;
      }
    
      // Populate return_nodes
    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)
  3. tensorflow/c/eager/tape.h

    void GradientTape<Gradient, BackwardFunction, TapeTensor>::DeleteTrace(
        int64_t tensor_id) {
      auto it = tensor_usage_.find(tensor_id);
      if (it == tensor_usage_.end()) {
        return;
      }
      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. RELEASE.md

        *   class `tflite::Subgraph`:
            *   Removed the `tensors()` method and the non-const overload of the
                `nodes_and_registration()` method, both of which were previously
                documented as temporary and to be removed.
                *   Uses of `tensors()` can be replaced by calling the existing
                    methods `tensors_size()` and `tensor(int)`.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/BUILD

            ],
        }),
    )
    
    tf_cuda_library(
        name = "tf_tensor_internal",
        hdrs = [
            "tf_tensor.h",
            "tf_tensor_helper.h",
            "tf_tensor_internal.h",
        ],
        visibility = ["//tensorflow:internal"],
        deps = [
            ":c_api_macros",
            ":tensor_interface",
            ":tf_datatype",
            ":tf_status",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function.cc

    }
    
    // Converts `noutputs` and `outputs` into `outputs_tensors` and does various
    // checks while doing so.
    Status ProcessOutputs(const TF_Graph* fn_body, const char* fn_name,
                          int noutputs, const TF_Output* outputs,
                          std::vector<OutputTensor>* output_tensors)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      output_tensors->reserve(noutputs);
      for (int i = 0; i < noutputs; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  7. tensorflow/c/c_api_test.cc

      EXPECT_TF_META("v", 2, TF_ATTR_TENSOR, -1);
      TF_Tensor* values[2];
      TF_OperationGetAttrTensorList(oper, "v", &values[0], TF_ARRAYSIZE(values),
                                    s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      const char* tensor_data[] = {&tensor1[0], &tensor2[0]};
      const size_t tensor_size[] = {TF_ARRAYSIZE(tensor1), TF_ARRAYSIZE(tensor2)};
    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)
  8. tensorflow/c/eager/c_api.cc

            "TFE_TensorHandleDeviceMemorySize may not be called on a ",
            handle->TypeString(), " tensor handle.");
        return 0;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return 0;
      }
      return tensor->TotalBytes();
    }
    
    TFE_Op* TFE_NewOp(TFE_Context* ctx, const char* op_or_function_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. configure.py

      tf_tensorrt_version = get_from_env_or_user_or_default(
          environ_cp, 'TF_TENSORRT_VERSION', ask_tensorrt_version,
          _DEFAULT_TENSORRT_VERSION)
      environ_cp['TF_TENSORRT_VERSION'] = tf_tensorrt_version
    
    
    def set_tf_nccl_version(environ_cp):
      """Set TF_NCCL_VERSION."""
      if not is_linux():
        raise ValueError('Currently NCCL is only supported on Linux platform.')
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  10. tensorflow/BUILD

            "//waymo/accelerator/...",
            "//waymo/ml/cn/...",
            "//waymo/ml/models/...",
        ],
    )
    
    package_group(
        name = "ndarray_tensor_allow_list",
        packages = [
            "//third_party/py/courier/...",
            "//third_party/py/tensorfn/...",
        ],
    )
    
    # Packages that use private types symbols, until they are exported.
    # TODO(b/154650521) Remove.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top