- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for typefix (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
//===----------------------------------------------------------------------===// TensorFlowSavedModelDialect::TensorFlowSavedModelDialect(MLIRContext *context) : Dialect(/*name=*/"tf_saved_model", context, TypeID::get<TensorFlowSavedModelDialect>()) { // The TensorFlow Dialect is needed in the verifier and other routines // associated to this dialect. It makes little sense anyway to use the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
#include "mlir/Support/DebugStringHelper.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "mlir/Support/TypeID.h" // from @llvm-project #include "mlir/Transforms/FoldUtils.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
src/encoding/json/encode.go
f = newTypeEncoder(t, true) wg.Done() encoderCache.Store(t, f) return f } var ( marshalerType = reflect.TypeFor[Marshaler]() textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]() ) // newTypeEncoder constructs an encoderFunc for a type. // The returned encoder only checks CanAddr when allowAddr is true.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
src/text/template/exec_test.go
// of the max int boundary. // We do it this way so the test doesn't depend on ints being 32 bits. var ( bigInt = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1)) bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1))) ) var execTests = []execTest{ // Trivial cases. {"empty", "", "", nil, true}, {"text", "some text", "some text", nil, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/reflect/all_test.go
if ovf := TypeFor[float32]().OverflowFloat(ovfFloat32); !ovf { t.Errorf("%v should overflow float32", ovfFloat32) } if ovf := TypeFor[float32]().OverflowFloat(-ovfFloat32); !ovf { t.Errorf("%v should overflow float32", -ovfFloat32) } maxInt32 := int64(0x7fffffff) if ovf := TypeFor[int32]().OverflowInt(maxInt32); ovf { t.Errorf("%v wrongly overflows int32", maxInt32) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
if err == io.EOF { break } if err != nil { return fmt.Errorf("next: %v", err) } dest := filepath.Join(destination, header.Name) switch header.Typeflag { case tar.TypeDir: if _, err := os.Stat(dest); err != nil { if err := os.Mkdir(dest, 0o755); err != nil { return fmt.Errorf("mkdir: %v", err) } } case tar.TypeReg:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/profile.go
defaultSampleTypeX int64 } // ValueType corresponds to Profile.ValueType type ValueType struct { Type string // cpu, wall, inuse_space, etc Unit string // seconds, nanoseconds, bytes, etc typeX int64 unitX int64 } // Sample corresponds to Profile.Sample type Sample struct { Location []*Location Value []int64 // Label is a per-label-key map to values for string labels. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
o.X = typ return o } // typeOrNil is like type_ but it returns nil if there was no type // instead of reporting an error. // // Type = TypeName | TypeLit | "(" Type ")" . // TypeName = identifier | QualifiedIdent . // TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType | // SliceType | MapType | Channel_Type . func (p *parser) typeOrNil() Expr { if trace {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
} }; } // namespace TensorFlowExecutorDialect::TensorFlowExecutorDialect(MLIRContext *context) : Dialect(/*name=*/"tf_executor", context, TypeID::get<TensorFlowExecutorDialect>()) { addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc.inc" >(); addInterfaces<TensorFlowExecutorInlinerInterface,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
src/reflect/type.go
tt := (*structType)(unsafe.Pointer(t)) for i := range tt.Fields { f := &tt.Fields[i] addTypeBits(bv, offset+f.Offset, f.Typ) } } } // TypeFor returns the [Type] that represents the type argument T. func TypeFor[T any]() Type { var v T if t := TypeOf(v); t != nil { return t // optimize for T being a non-interface kind } return TypeOf((*T)(nil)).Elem() // only for an interface kind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0)