Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for dsn_string (0.18 sec)

  1. tensorflow/cc/framework/ops.cc

      Tensor t(first.tensor.dtype(), shape);
    
      // Collate the constituent Tensors.
      size_t offset = 0;
      for (auto const& e : v) {
        Tensor elem = e.tensor;
        if (first.tensor.dtype() == DT_STRING) {
          for (int i = 0; i < elem.NumElements(); ++i) {
            t.flat<tstring>()(offset + i) = elem.flat<tstring>()(i);
          }
          offset += elem.NumElements();
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/shared_test.go

    	}
    	defer f.Close()
    	dynstrings, err := f.DynString(flag)
    	if err != nil {
    		t.Fatalf("DynString(%s) failed on %s: %v", flag, path, err)
    	}
    	return dynstrings
    }
    
    func AssertIsLinkedToRegexp(t *testing.T, path string, re *regexp.Regexp) {
    	t.Helper()
    	for _, dynstring := range dynStrings(t, path, elf.DT_NEEDED) {
    		if re.MatchString(dynstring) {
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader.cc

          TF_RETURN_IF_ERROR(ValidateFunctionNotRecursive(function));
        }
      }
    
      return absl::OkStatus();
    }
    
    Tensor CreateStringTensor(const string& value) {
      Tensor tensor(DT_STRING, TensorShape({}));
      tensor.scalar<tstring>()() = value;
      return tensor;
    }
    
    void AddAssetsTensorsToInputs(const StringPiece export_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    	"fmt"
    	"strings"
    
    	"github.com/tinylib/msgp/msgp"
    	"github.com/zeebo/xxh3"
    )
    
    // Op is operation type.
    //
    //go:generate msgp -unexported -file=$GOFILE
    //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE
    
    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    	// OpConnect is a connect request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 28 19:22:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

          }
          op {
            name: "RestoreV2"
            input_arg {
              name: "prefix"
              type: DT_STRING
            }
            input_arg {
              name: "tensor_names"
              type: DT_STRING
            }
            input_arg {
              name: "shape_and_slices"
              type: DT_STRING
            }
            output_arg {
              name: "tensors"
              type_list_attr: "dtypes"
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/bundle_v2.cc

      TF_RETURN_WITH_CONTEXT_IF_ERROR(
          bundle_reader->Lookup(kObjectGraphProtoKey, &object_graph_tensor),
          "SavedModel checkpoint does not contain object graph.");
      if (object_graph_tensor.dtype() != DT_STRING ||
          object_graph_tensor.dims() != 0 ||
          object_graph_tensor.NumElements() != 1) {
        return absl::Status(
            absl::StatusCode::kFailedPrecondition,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    		if(/msie/.test(u) && parseInt(v, 10) == 7) {
    			is_ie7 = true;
    			css_string += '.jstree li a { border-width:0 !important; padding:0px 2px !important; } ';
    		}
    		// correct ff2 lack of display:inline-block
    		if(!/compatible/.test(u) && /mozilla/.test(u) && parseFloat(v, 10) < 1.9) {
    			is_ff2 = true;
    			css_string += '' +
    				'.jstree ins { display:-moz-inline-box; } ' +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  8. tensorflow/c/tf_tensor.cc

      tsl::Set_TF_Status_from_Status(status, cc_status);
    }
    
    #endif  // LIBTPU_EXCLUDE_C_API_IMPL
    
    namespace tensorflow {
    
    void TensorInterface::Release() {
      if (Type() == DT_STRING && NumElements() > 0) {
        TF_TString* data = static_cast<TF_TString*>(Data());
        if (CanMove() && data != nullptr) {
          for (int64_t i = 0; i < NumElements(); ++i) {
            TF_TString_Dealloc(&data[i]);
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

    }
    
    TEST(ConvertTypeToTensorTypeTest, ConvertStringTensor) {
      mlir::MLIRContext context;
      RegisterDialects(context);
      mlir::Builder b(&context);
    
      // Create the sample tensor to convert.
      Tensor tensor(DT_STRING, TensorShape({1, 2, 2, 1}));
      EXPECT_EQ(4, tensor.NumElements());
      auto Tt = tensor.flat<tstring>();
      Tt.setValues({"one", "two", "three", "four"});
      auto value_or_status = ConvertTensor(tensor, &b);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/compilability_check_util.cc

      if (node.type_string() == "Const") {
        const AttrValue* attr = node.attrs().Find("dtype");
        if (!op_filter_.allow_string_consts && attr != nullptr &&
            attr->type() == DT_STRING) {
          *uncompilable_reason =
              "Const op with type DT_STRING is not supported by XLA.";
          return false;
        }
      }
    
      // XLA does not offer guaranteed aliasing between the input and output of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top