Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,398 for TensorT (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

      let summary = "Loads a restored variable tensor as a tensor future";
    
      let description = [{
        This op loads a restored variable tensor as a tensor future. It is a
        replacement of `tf.ReadVariableOp`.
    
        This op returns a scalar string tensor containing the restored variable name, which 
        is composed from `container_name` and `shared_name` from a `var_handle` and can be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

    def PromiseOp: TensorflowMlrt_Op<"promise", []> {
      let summary = "Set a tensor in a promise";
    
      let description = [{
        Set a tensor in a promise.
    
        $promise: A value of type !mlrt.promise. The underlying value must be a tensorflow tensor.
        $tensor: A tensorflow tensor.
      }];
    
      let arguments = (ins
        MlrtPromiseType:$promise,
        TFTensorType:$tensor
      );
    
      let assemblyFormat = "operands attr-dict";
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/cc/client/client_session.h

      Status RunCallable(CallableHandle handle,
                         const std::vector<Tensor>& feed_tensors,
                         std::vector<Tensor>* fetch_tensors,
                         RunMetadata* run_metadata);
    
      /// \brief Invokes the subgraph named by `handle` with the given options and
      /// input tensors.
      ///
      /// The order of tensors in `feed_tensors` must match the order of names in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 20 08:11:46 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list-enable-dynamic-update-slice.mlir

      %2 = "tf.TensorListStack"(%1, %arg1) : (tensor<!tf_type.variant<tensor<10xf32>>>, tensor<1xi32>) -> tensor<3x10xf32>
      func.return %2 : tensor<3x10xf32>
    
    // CHECK-SAME:  ([[INPUT:%.*]]: tensor<3x10xf32>, [[ELEM_SHAPE:%.*]]: tensor<1xi32>, [[INDEX:%.*]]: tensor<i32>, [[ITEM:%.*]]: tensor<10xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tensor.h

      // Create a DeviceMemoryBase from a Tensor. The Tensor can be an XlaTensor, in
      // which case the returned value is shaped_buffer()->root_buffer(), or a
      // normal Tensor in which case the returned value is
      // {tensor.tensor_data().data(), tensor.tensor_data().size}.
      static se::DeviceMemoryBase DeviceMemoryFromTensor(const Tensor& tensor);
    
      // Assign the internal ShapedBuffer to new memory for the given dtype and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_merging.mlir

    func.func @single_restore_group(%arg0: tensor<!tf_type.string>) -> (tensor<*xf32>, tensor<*xi32>) {
      %0 = "tf.Const"() {value = dense<"foo"> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
      %1 = "tf.Const"() {value = dense<""> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
      %2 = "tf.RestoreV2"(%arg0, %0, %1) : (tensor<!tf_type.string>, tensor<1x!tf_type.string>, tensor<1x!tf_type.string>) -> tensor<*xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 06 18:22:47 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

    // as tensor names may have changed via MLIR constant folding process.
    bool ExpectEqualTensor(const Tensor* tensor, const Tensor* expected_tensor) {
      return (tensor->is_variable() == expected_tensor->is_variable()) &&
             (GetAsVector(tensor->shape()) ==
              GetAsVector(expected_tensor->shape()));
    }
    
    // Finds the match of the quantized tensor from the possible tensors. Each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

      }
    
      // Read all underlying tensors of the variables from the session.
      std::vector<Tensor> tensors;
      tensors.reserve(resource_tensors.size());
      for (const Tensor& resource_tensor : resource_tensors) {
        if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) {
          tensors.push_back(resource_tensor);
          continue;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

        for (const int itensor : operations_[ioperation].tensors) {
          if (const auto& tensor = tensors_[itensor];
              tensor.first_use() >= begin && tensor.first_use() < end &&
              tensor.last_use() > peak_loc) {
            for (const int ioperation : tensor.operations) {
              // We return the earliest dependence on any output tensor.
              if (ioperation > peak_loc && ioperation < best) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. tensorflow/c/kernels_experimental.h

    // in the plugin for Training. The API takes in the context with indices for the
    // input and value tensors. It also accepts the copy callback provided by
    // pluggable vendor to do the copying of the tensors and the update callback to
    // apply the arithmetic operation. The caller takes ownership of the `source`,
    // `dest`, `tensor` and `value` tensors and is responsible for freeing them with
    // TF_DeleteTensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top