Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for dsn_string (1.14 sec)

  1. internal/event/target/mysql.go

    	mysqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES (?, ?);`
    )
    
    // MySQL related constants
    const (
    	MySQLFormat             = "format"
    	MySQLDSNString          = "dsn_string"
    	MySQLTable              = "table"
    	MySQLHost               = "host"
    	MySQLPort               = "port"
    	MySQLUsername           = "username"
    	MySQLPassword           = "password"
    	MySQLDatabase           = "database"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

              name: "serialized"
              type: DT_STRING
            }
            input_arg {
              name: "names"
              type: DT_STRING
            }
            input_arg {
              name: "sparse_keys"
              type: DT_STRING
              number_attr: "Nsparse"
            }
            input_arg {
              name: "dense_keys"
              type: DT_STRING
              number_attr: "Ndense"
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  3. pkg/kubelet/network/dns/dns.go

    			if err != nil {
    				klog.ErrorS(err, "Error for parsing the resolv.conf file")
    			} else {
    				dnsString = dnsString + "search"
    				for _, search := range hostSearch {
    					dnsString = dnsString + fmt.Sprintf(" %s", search)
    				}
    				dnsString = dnsString + "\n"
    			}
    		}
    	}
    	if err := os.WriteFile(resolvePath, []byte(dnsString), 0600); err != nil {
    		klog.ErrorS(err, "Could not write dns nameserver in the file", "path", resolvePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        case DT_BFLOAT16:
        case DT_HALF:
        case DT_FLOAT8_E5M2:
        case DT_FLOAT8_E4M3FN:
          return ConvertTensorOfCustomFloatType(input_tensor, type);
        case DT_STRING:
          return ConvertStringTensor(input_tensor, type);
        default:
          // TODO(hinsu): Remove mangling now that there is a special attribute.
          return ElementsAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/jit/kernels/xla_ops.cc

      // Async compilation returns nullptr executable without an error.
      if (!executable && !pjrt_executable) {
        DCHECK(!must_compile_);
        Tensor compilation_key(cpu_allocator, DT_STRING, TensorShape({}));
        Tensor compilation_successful(cpu_allocator, DT_BOOL, TensorShape({}));
        compilation_successful.scalar<bool>()() = false;
        ctx->set_output(0, compilation_key);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top