Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,416 for Tensors (0.26 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      // There should be 3 tensors: input, output, and BroadcastTo/shape.
      EXPECT_THAT(subgraph->tensors, SizeIs(3));
    
      // Input Tensor
      EXPECT_THAT(subgraph->tensors[0]->type, Eq(tensor_type_));
      EXPECT_THAT(subgraph->tensors[0]->name, Eq("input_1"));
      EXPECT_THAT(subgraph->tensors[0]->quantization->scale, SizeIs(1));
      EXPECT_THAT(subgraph->tensors[0]->quantization->zero_point, SizeIs(1));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/c/experimental/ops/io_ops.cc

      int num_retvals = tensors.size();
      return op_ptr->Execute(tensors, &num_retvals);
    }
    
    // Op: SaveV2()
    // Summary: Saves tensors in V2 checkpoint format.
    //
    // Description:
    //   By default, saves the named tensors in full.  If the caller wishes to save
    //   specific slices of full tensors, "shape_and_slices" should be non-empty
    //   strings and correspondingly well-formed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/testutil.cc

    namespace tensorflow {
    namespace test {
    
    void GetTensors(const Scope& scope, OutputList tensors,
                    std::vector<Tensor>* out) {
      ClientSession session(scope);
      TF_CHECK_OK(session.Run(tensors, out));
    }
    
    void GetTensor(const Scope& scope, Output tensor, Tensor* out) {
      std::vector<Tensor> outputs;
      GetTensors(scope, {std::move(tensor)}, &outputs);
      *out = outputs[0];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 06:52:56 UTC 2017
    - 1.8K 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/lite/tests/flatbuffer2mlir/test_schema.fbs

    // model.
    table SubGraph {
      // A list of all tensors used in this subgraph.
      tensors:[Tensor];
    
      // Indices of the tensors that are inputs into this subgraph. Note this is
      // the list of non-static tensors that feed into the subgraph for inference.
      inputs:[int];
    
      // Indices of the tensors that are outputs out of this subgraph. Note this is
      // the list of output tensors that are considered the product of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K 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/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)
Back to top