Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for print_tensor (0.1 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batching_fallback.mlir

      // CHECK: Tensor<type: int32 shape: [2,2] values: [4 4]
      %ch1 = "tfrt_fallback_async.print_tensor"(%result_1, %ch0) : (!tfrt_fallback.tf_tensor, !tfrt.chain) -> !tfrt.chain
    
      // CHECK: Tensor<type: int32 shape: [2,2] values: [6 6]
      %ch2 = "tfrt_fallback_async.print_tensor"(%result_2, %ch1) : (!tfrt_fallback.tf_tensor, !tfrt.chain) -> !tfrt.chain
    
      tfrt.return %ch2 : !tfrt.chain
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 18 22:58:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.h

      string ret;
      for (int64_t i = 0; i < num_elts; ++i) {
        if (i > 0) strings::StrAppend(&ret, ", ");
        strings::StrAppend(&ret, array[i]);
      }
      return ret;
    }
    
    string PrintTensor(const TensorProto& tensor_proto);
    
    string PrintTensorProto(const TensorProto& proto);
    
    string PrintAttrValue(StringPiece, const AttrValue& attr_value);
    
    bool IsEmptyList(const AttrValue::ListValue& list);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top