Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for is_variable (0.15 sec)

  1. tensorflow/cc/saved_model/testdata/generate_saved_models.py

    
    class ReferencesParent(module.Module):
    
      def __init__(self, parent):
        super(ReferencesParent, self).__init__()
        self.parent = parent
        self.my_variable = variables.Variable(3., name="MyVariable")
    
    
    # Creates a cyclic object graph.
    class CyclicModule(module.Module):
    
      def __init__(self):
        super(CyclicModule, self).__init__()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 18:06:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          ('use_constant_with_int64_input', np.int64, False),
          ('use_variable_with_int64_input', np.int64, True),
      )
      @test_util.run_v2_only
      def test_gather_model(self, input_type, use_variable):
        model = self._create_gather_model(input_type, use_variable)
    
        save.save(model, self._input_saved_model_path)
    
        rng = np.random.default_rng(seed=42)
        static_input_shape = [6]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top