Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tensorproto (0.13 sec)

  1. tensorflow/compiler/jit/shape_inference.cc

              const_def.set_name(
                  graph->NewName(absl::StrCat("var_shape_", var_node->name())));
              DataType dtype = n->output_type(0);
              AddNodeAttr("dtype", dtype, &const_def);
              TensorProto value;
              value.set_dtype(dtype);
              value.mutable_tensor_shape()->add_dim()->set_size(
                  shape_proto.dim_size());
              for (const auto& dim : shape_proto.dim()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
        The ConstOp creates a constant tensorflow::Tensor from serialized proto.
      }];
    
      let arguments = (ins
        StrAttr:$tensor_proto
      );
    
      let results = (outs
        TFTensorType:$result
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ExecuteOp : TensorflowMlrt_Op<"executeop", []> {
      let summary = "The Fallback ExecuteOp";
    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/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @const() -> tensor<2xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
Back to top