Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 236 for tensor_a (0.19 sec)

  1. tensorflow/compiler/jit/deadness_analysis_internal.h

    #include "absl/container/flat_hash_map.h"
    #include "tensorflow/core/graph/tensor_id.h"
    
    namespace tensorflow {
    namespace deadness_analysis_internal {
    
    // Returns a map describing the predicate each Tensor was mapped to.  For
    // testing purposes only.
    using PredicateMapTy = absl::flat_hash_map<TensorId, string, TensorId::Hasher>;
    Status ComputePredicates(const Graph& graph, PredicateMapTy* out_predicate_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 00:04:21 UTC 2019
    - 1.4K 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/cc/experimental/libtf/tests/runtime_test.cc

      TF_ASSERT_OK_AND_ASSIGN(Tensor tensor1,
                              runtime.CreateHostTensor<float>({}, TF_FLOAT, {2.0f}))
      TF_ASSERT_OK_AND_ASSIGN(Tensor tensor2,
                              runtime.CreateHostTensor<float>({}, TF_FLOAT, {3.0f}))
    
      TF_ASSERT_OK_AND_ASSIGN(Tensor result_tensor,
                              fn.Call<Tensor>(tensor1, tensor2));
      float out_val[1];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let arguments = (ins
        Arg<TF_Int32Tensor, [{int32 `Tensor`.}]>:$arr,
        Arg<TF_Int32Tensor, [{non-negative int32 scalar `Tensor`.}]>:$size,
        Arg<TensorOf<[TF_Float32, TF_Float64, TF_Int32, TF_Int64]>, [{is an int32, int64, float32, or float64 `Tensor` with the same
    shape as `arr`, or a length-0 `Tensor`, in which case it acts as all weights
    equal to 1.}]>:$weights
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      for (int component_index = 0; component_index < tensors_.size();
           ++component_index) {
        // TODO(allenl): Add a C API for summarizing tensors. Currently custom
        // devices limiting themselves to a C API (for ABI compatibility) would need
        // to implement summarization for component tensors themselves.
        ImmediateExecutionTensorHandle* component =
            tensorflow::unwrap(tensors_[component_index].get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/lite/schema/schema_v3b.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: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_const.mlir

     func.func @main () -> tensor<1x1x1x96xf32> {
      %0 = "vhlo.constant_v1"() <{value = #vhlo.tensor_v1<dense<0.000000e+00> : tensor<f32>>}> : () -> tensor<1x1x1x96xf32>
      func.return %0 : tensor<1x1x1x96xf32>
     }
    }
    
    //CHECK: func.func @main() -> tensor<1x1x1x96xf32> attributes {tf.entry_function = {outputs = "vhlo.constant_v1"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 833 bytes
    - Viewed (0)
Back to top