Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isVariable (0.59 sec)

  1. src/cmd/cgo/gcc.go

    		return true
    	}
    	return st.Sel.Name == "StringData"
    }
    
    // isVariable reports whether x is a variable, possibly with field references.
    func (p *Package) isVariable(x ast.Expr) bool {
    	switch x := x.(type) {
    	case *ast.Ident:
    		return true
    	case *ast.SelectorExpr:
    		return p.isVariable(x.X)
    	case *ast.IndexExpr:
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

            {
              "shape": [1, 4],
              "name": "input_activation_state18",
              "is_variable": true,
              "quantization": {
                "min": [-0.8],
                "max": [1.6]
              }
            },
            {
              "shape": [1, 2],
              "name": "input_cell_state19",
              "is_variable": true,
              "quantization": {
                "min": [-2.0],
                "max": [4.0]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/variable.mlir

    // CHECK-LABEL: main
    func.func @main() -> tensor<3x2xi32> {
      // CHECK: "tfl.pseudo_const"() <{value = dense<0> : tensor<3x2xi32>}> {tfl.is_variable} : () -> tensor<3x2xi32>
      %0 = "tfl.pseudo_const"() {value = dense<0> : tensor<3x2xi32>, tfl.is_variable} : () -> tensor<3x2xi32> loc("variable")
      func.return %0 : tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 470 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir

    // CHECK-DAG: %[[RES0:.*]] = "tfl.pseudo_const"() <{value = dense<{{.*}}> : tensor<1x4xf32>}> {tfl.is_variable} : () -> tensor<1x4xf32>
    // CHECK-DAG: %[[RES1:.*]] = "tfl.pseudo_const"() <{value = dense<{{.*}}> : tensor<1x4xf32>}> {tfl.is_variable} : () -> tensor<1x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                return LogicalResult::failure();
              }
    
              if (is_variable) {
                input.emitOpError() << "unexpected multiple TPUReplicatedInputOp "
                                    << "for single argument";
                return LogicalResult::failure();
              }
              is_variable = true;
            } else {
              is_non_variable = true;
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

                                      const std::vector<uint8_t>& buffer,
                                      bool is_variable, OpBuilder builder,
                                      Location loc, bool use_stablehlo_constant) {
      if (tensor.sparsity != nullptr) {
        return BuildSparseConstOp(tensor, buffer, builder, loc);
      }
    
      if (is_variable) {
        return BuildVariableOp(tensor, builder, loc);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // marked as a stateful. If so, set the tensor's is_variable as true
      // This is v1 ref variable semantics in the TFLite runtime.
      bool is_variable = false;
      for (auto& use : value.getUses()) {
        is_variable = IsStatefulOperand(use.getOwner(), use.getOperandNumber());
        if (is_variable) {
          break;
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

    // as tensor names may have changed via MLIR constant folding process.
    bool ExpectEqualTensor(const Tensor* tensor, const Tensor* expected_tensor) {
      return (tensor->is_variable() == expected_tensor->is_variable()) &&
             (GetAsVector(tensor->shape()) ==
              GetAsVector(expected_tensor->shape()));
    }
    
    // Finds the match of the quantized tensor from the possible tensors. Each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                return LogicalResult::failure();
              }
    
              if (is_variable) {
                input.emitOpError() << "unexpected multiple TPUReplicatedInputOp "
                                    << "for single argument";
                return LogicalResult::failure();
              }
              is_variable = true;
            } else {
              is_non_variable = true;
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                    }
                }
            }
    
            if (descriptor is IrBasedVariableDescriptor && owner is IrVariable) {
                val name = owner.name
                val isMutated = false // TODO capture the usage somehow
    
                if (owner.origin == IrDeclarationOrigin.PROPERTY_DELEGATE) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top