Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 101 for retval (0.43 sec)

  1. src/go/types/expr.go

    // This ensures that constants of different kind but equal value (such as
    // 1.0 + 0i, 1.0, 1) result in the same value.
    func keyVal(x constant.Value) interface{} {
    	switch x.Kind() {
    	case constant.Complex:
    		f := constant.ToFloat(x)
    		if f.Kind() != constant.Float {
    			r, _ := constant.Float64Val(constant.Real(x))
    			i, _ := constant.Float64Val(constant.Imag(x))
    			return complex(r, i)
    		}
    		x = f
    		fallthrough
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. internal/config/config.go

    		for _, delKey := range strings.Fields(inputs[1]) {
    			_, ok := currKVS.Lookup(delKey)
    			if !ok {
    				return Error[ErrConfigNotFound]("key %s doesn't exist", delKey)
    			}
    			defVal, isDef := defKVS.Lookup(delKey)
    			if isDef {
    				currKVS.Set(delKey, defVal)
    			} else {
    				currKVS.Delete(delKey)
    			}
    		}
    		c[subSys][tgt] = currKVS
    	} else {
    		delete(c[subSys], tgt)
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::OperationName name = inner_op->getName();
        if (!name.isRegistered() &&
            // Skip unmodelled ops that are handled differently.
            (node_type_name != "_Arg" && node_type_name != "_Retval") &&
            !unmodelled_op_names_.count(name.getIdentifier())) {
          if (node.op_def().is_stateful()) {
            VLOG(1) << "[potentially conservative] Op type `" << node.type_string()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "XlaVariadicReduce",
          "XlaVariadicReduceV2",
          "XlaVariadicSort",
          "XlaWhile",
          "Zeta",
          "_Arg",
          "_ArrayToList",
          "_ListToArray",
          "_Retval"};
      return result;
    }
    
    }  // namespace testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    //       }
    // .   }
    //     kind: PARAMETER
    //     sharding {
    //       type: MAXIMAL
    //       tile_assignment_dimensions: 1
    //       tile_assignment_devices: 0
    //     }
    //   }
    //   retvals {
    //     sharding {
    //       type: MAXIMAL
    //       tile_assignment_dimensions: 1
    //       tile_assignment_devices: 0
    //     }
    //   }
    //   num_replicas: 1
    //   num_cores_per_replica: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %1 = "tf.Imag"(%arg0) : (tensor<3xcomplex<f32>>) -> tensor<3xf32>
      func.return %1 : tensor<3xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @real
    func.func @real(%arg0: tensor<3xcomplex<f32>>) -> tensor<3xf32> {
      // CHECK: mhlo.real
      %1 = "tf.Real"(%arg0) : (tensor<3xcomplex<f32>>) -> tensor<3xf32>
      func.return %1 : tensor<3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      std::string args_communication_key =
          llvm::formatv("host_compute_channel_{0}_args", (communication_key_index))
              .str();
      std::string retvals_communication_key =
          llvm::formatv("host_compute_channel_{0}_retvals",
                        (communication_key_index))
              .str();
    
      // Use a unique name when sending just the IfRegion predicate.  This is
      // for readable and to match the key in the TF2XLA bridge.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    			t.Errorf("MapIter.Key() = %q, MapIter.SetKey() = %q", key, setkey)
    		}
    		if setval, val := valueToString(e), valueToString(iter.Value()); setval != val {
    			t.Errorf("MapIter.Value() = %q, MapIter.SetValue() = %q", val, setval)
    		}
    	}
    
    	if testenv.OptimizationOff() {
    		return // no inlining with the noopt builder
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

      // CHECK-LABEL: @const_input_required
      func.func @const_input_required(%arg0: tensor<10xf64>) -> tensor<?xf64> attributes {tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2,_arg3", outputs = "_retval0"}} {
        %cst = "tf.Const"() {value = dense<6> : tensor<1xi32>} : () -> tensor<1xi32>
        %cst_0 = "tf.Const"() {value = dense<2> : tensor<1xi32>} : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    		// defer is set.
    		bitval := s.constInt8(types.Types[types.TUINT8], 1<<uint(i))
    		andval := s.newValue2(ssa.OpAnd8, types.Types[types.TUINT8], deferBits, bitval)
    		eqVal := s.newValue2(ssa.OpEq8, types.Types[types.TBOOL], andval, zeroval)
    		b := s.endBlock()
    		b.Kind = ssa.BlockIf
    		b.SetControl(eqVal)
    		b.AddEdgeTo(bEnd)
    		b.AddEdgeTo(bCond)
    		bCond.AddEdgeTo(bEnd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top