Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for has_type (0.11 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      bool has_tpu = false;
      for (int device_index = 0; device_index < TF_DeviceListCount(devices.get());
           ++device_index) {
        std::string device_type =
            TF_DeviceListType(devices.get(), device_index, status.get());
        ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (device_type == "TPU") {
          has_tpu = true;
          break;
        }
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. schema/relationship.go

    func hasPolymorphicRelation(tagSettings map[string]string) bool {
    	if _, ok := tagSettings["POLYMORPHIC"]; ok {
    		return true
    	}
    
    	_, hasType := tagSettings["POLYMORPHICTYPE"]
    	_, hasId := tagSettings["POLYMORPHICID"]
    
    	return hasType && hasId
    }
    
    func (schema *Schema) setRelation(relation *Relationship) {
    	// set non-embedded relation
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    	ExprArg *Expression `parser:" @@? )! \")\""`
    }
    
    // CastFunc represents CAST sql function
    type CastFunc struct {
    	Expr     *Expression `parser:" \"CAST\" \"(\" @@ "`
    	CastType string      `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "`
    }
    
    // SubstringFunc represents SUBSTRING sql function
    type SubstringFunc struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    type, called the <i>base type</i> of the pointer.
    The value of an uninitialized pointer is <code>nil</code>.
    </p>
    
    <pre class="ebnf">
    PointerType = "*" BaseType .
    BaseType    = Type .
    </pre>
    
    <pre>
    *Point
    *[4]int
    </pre>
    
    <h3 id="Function_types">Function types</h3>
    
    <p>
    A function type denotes the set of all functions with the same parameter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    type, called the <i>base type</i> of the pointer.
    The value of an uninitialized pointer is <code>nil</code>.
    </p>
    
    <pre class="ebnf">
    PointerType = "*" BaseType .
    BaseType    = Type .
    </pre>
    
    <pre>
    *Point
    *[4]int
    </pre>
    
    <h3 id="Function_types">Function types</h3>
    
    <p>
    A function type denotes the set of all functions with the same parameter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top