Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,098 for TensorT (0.19 sec)

  1. tensorflow/cc/framework/ops.h

      DataType data_type() const { return data_type_; }
      Status status() const { return status_; }
      const Tensor& tensor() const { return tensor_; }
    
     private:
      Status status_;
      Output output_ = Output(Operation(nullptr), 0);
      Tensor tensor_;
      const std::string node_name_ = "";
      int32 index_ = 0;
      DataType data_type_ = DT_INVALID;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tensor.cc

        auto* ret = emptyTensor->tensor;
        delete emptyTensor;
        return ret;
      }
    
      Tensor tensor;
      if (!tensor.CopyFrom(src, src.shape())) {
        return nullptr;
      }
      return new tensorflow::TensorInterface(std::move(tensor));
    }
    
    // Non-static for testing.
    TF_Tensor* TF_TensorFromTensor(const tensorflow::Tensor& src, Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/replicate-tensor-list-init-ops.mlir

        %tl_set_item = "tf.TensorListSetItem"(%tl, %idx, %elem_1) : (tensor<!tf_type.variant<tensor<*xf32>>>, tensor<i32>, tensor<8xf32>) -> tensor<!tf_type.variant<tensor<*xf32>>>
        %elem_shape_2 = "tf.Const"() {value = dense<-1> : tensor<1xi32>} : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 09:30:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/testutil.h

                    const OutputList& tensors, std::vector<Tensor>* out);
    
    /// Computes the output 'tensor', returning the resulting tensor in 'out'.
    void GetTensor(const Scope& scope, Output tensor, Tensor* out);
    
    // Computes the output 'tensor', returning the resulting tensor in 'out'.
    // assign_vars are extra outputs that should be run
    // e.g. to assign values to variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:47:18 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top